pimoroni-pico/micropython/modules/breakout_matrix11x7/breakout_matrix11x7.h

16 lines
752 B
C

// Include MicroPython API.
#include "py/runtime.h"
/***** Constants *****/
static const int WIDTH = 11;
static const int HEIGHT = 7;
/***** Extern of Class Definition *****/
extern const mp_obj_type_t breakout_matrix11x7_BreakoutMatrix11x7_type;
/***** Extern of Class Methods *****/
extern void BreakoutMatrix11x7_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind);
extern mp_obj_t BreakoutMatrix11x7_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args);
extern mp_obj_t BreakoutMatrix11x7_set_pixel(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args);
extern mp_obj_t BreakoutMatrix11x7_update(mp_obj_t self_in);
extern mp_obj_t BreakoutMatrix11x7_clear(mp_obj_t self_in);