diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-23 00:25:09 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-23 00:25:09 +0000 |
commit | 965e2bafeabf1663f7d641bf5d16fa7f9116d822 (patch) | |
tree | 7ab27e455c7ad13bd3328488364a5770e50d666a /stmhal/lcd.c | |
parent | badc9d4a953f9636983928feb16d33b71e01f975 (diff) | |
download | micropython-965e2bafeabf1663f7d641bf5d16fa7f9116d822.tar.gz micropython-965e2bafeabf1663f7d641bf5d16fa7f9116d822.zip |
stmhal: Improve LED intensity get/set method.
Diffstat (limited to 'stmhal/lcd.c')
-rw-r--r-- | stmhal/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/lcd.c b/stmhal/lcd.c index 7c15cbcd21..d2db7b7ba1 100644 --- a/stmhal/lcd.c +++ b/stmhal/lcd.c @@ -23,7 +23,7 @@ #define PYB_LCD_A0_PIN (GPIO_PIN_2) #define PYB_LCD_SCL_PIN (GPIO_PIN_3) #define PYB_LCD_SI_PIN (GPIO_PIN_4) -#elif defined(PYBOARD4) +#elif defined(PYBOARD4) || defined(PYBv10) // X position #define PYB_LCD_PORT (GPIOA) #define PYB_LCD_CS1_PIN (GPIO_PIN_2) // X3 |