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

15 lines
649 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 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);