11 lines
443 B
C
11 lines
443 B
C
// Include MicroPython API.
|
|
#include "py/runtime.h"
|
|
|
|
// Declare the functions we'll make available in Python
|
|
extern mp_obj_t picoscroll_init();
|
|
extern mp_obj_t picoscroll_get_width();
|
|
extern mp_obj_t picoscroll_get_height();
|
|
extern mp_obj_t picoscroll_update();
|
|
extern mp_obj_t picoscroll_set_pixel(mp_obj_t x_obj, mp_obj_t y_obj, mp_obj_t v_obj);
|
|
extern mp_obj_t picoscroll_clear();
|
|
extern mp_obj_t picoscroll_is_pressed(mp_obj_t button_obj); |