From 6672e9d68381a79dab0747243056d18942e272de Mon Sep 17 00:00:00 2001 From: ZodiusInfuser Date: Tue, 17 Aug 2021 12:48:45 +0100 Subject: [PATCH] Added pins for user sw and current sense --- micropython/modules/plasma_2040/plasma_2040.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/micropython/modules/plasma_2040/plasma_2040.c b/micropython/modules/plasma_2040/plasma_2040.c index c606f0f9..6f651da0 100644 --- a/micropython/modules/plasma_2040/plasma_2040.c +++ b/micropython/modules/plasma_2040/plasma_2040.c @@ -68,6 +68,8 @@ STATIC const mp_map_elem_t plasma_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_PIN_LED_B), MP_ROM_INT(18) }, { MP_ROM_QSTR(MP_QSTR_PIN_BUTTON_A), MP_ROM_INT(12) }, { MP_ROM_QSTR(MP_QSTR_PIN_BUTTON_B), MP_ROM_INT(13) }, + { MP_ROM_QSTR(MP_QSTR_PIN_USER_SW), MP_ROM_INT(23) }, + { MP_ROM_QSTR(MP_QSTR_PIN_CURRENT_SENSE), MP_ROM_INT(29) }, { MP_ROM_QSTR(MP_QSTR_COLOR_ORDER_RGB), MP_ROM_INT(0x00) }, { MP_ROM_QSTR(MP_QSTR_COLOR_ORDER_RBG), MP_ROM_INT(0x01) },