From: Vladimir Garistov Date: Sun, 3 Apr 2022 00:43:55 +0000 (+0300) Subject: Merge branch 'master' of https://gitlab.com/tues-embedded/vmks into HEAD X-Git-Url: https://kolegite.com/gitweb/?a=commitdiff_plain;h=f7ed895921b5d898c1f745264c2043fc2f3d2cfa;p=vmks.git Merge branch 'master' of https://gitlab.com/tues-embedded/vmks into HEAD Oopsie, I forgot to commit last time I modified Big_LED_strip --- f7ed895921b5d898c1f745264c2043fc2f3d2cfa diff --cc Examples/Big_LED_strip/Big_LED_strip.ino index afe4bf6,60ee8ca..0421bad --- a/Examples/Big_LED_strip/Big_LED_strip.ino +++ b/Examples/Big_LED_strip/Big_LED_strip.ino @@@ -16,15 -14,16 +14,16 @@@ When loop() is called, the stack collides with the heap and overrides the library buffer. The resulting visual effect is interesting but in order to actually display the image we must do so directly without allocating a working buffer. -- Uncomment this to indicate that display_rgb_direct() must be used. ++ Ъomment this to indicate that display_rgb_direct() must be used. */ //#define NEOPIXEL_ATE_MY_RAM + //#define STM32 - //#ifdef NEOPIXEL_ATE_MY_RAM + #ifdef STM32 + #define LED_PIN PA2 + #else #define LED_PIN 12 - //#else - //#define LED_PIN 12 - //#endif + #endif int render_image(uint8_t buff[ROWS][COLS][3], const uint8_t image[]); int display_rgb(uint8_t buff[ROWS][COLS][3]);