There are a lot of pixel LED libraries out there, but as you can see from the thread that Ray pointed you to, they might require some degree of tinkering to get them to work. Of the two libraries mentioned in that thread, I think Roger's WS2818B library would be best for a small number of LEDs, but ...
What problem did you have with the ST core and the Adafruit library? fpiSTM said it works, but I have not tried it. I don't really know what's wrong with it, but no matter what i try to do it just doesn seem to light leds. I tried now using the ST core and the Adafruit library. I think that dependi...
As I mentioned above, on SP2 you can only get max 18MHz, that is why the pulses are twice as long. Due to the unusual way SPI is used by the WS2812B library, the maximum speed would be 6MHz (and 12MHz on SPI1), but the LEDs are nowhere near as fast as that, and there is no problem using SPI2 provid...
I found I was using the WS2812B library included with the core, instead of WS2812B_STM32_Libmaple-master, and it turns out they are not the same (your guess is better than mine why). The version in the core does not have those #defines depending F_CPU , it just assumes F_CPU is 72MHz, but since my F...
So, you are still using Roger's core and WS2812B library? I lifted up your code and tried it - I commented out the nRF24L01 and RF24 because I don't have those. When I run it, I have no LED string connected, but I can see output on SPI2 - PB15. However, the timing is not as expected. It is in the 1/...
I only recently tried to use Platformio for the first time. If I create a project, I have to select a "board" and a "framework". If I select say Nucleo F103RB for the board, it gives me five choices for the framework - Arduino, Mbed, libOpenCM3, STM32Cube, and Zephyr. If I select...
I can see you are not a fan of using SPI for this task. The granularity of the available timing is an issue, but 1/3 2/3 pulses does suit a lot of these type of LEDs, even if you also need to mess with the clock configuration to get the overall period within spec. As for the increase ram usage - the...
Welcome from a member who has not been here much longer than you have. I started out with 6800, and moved on to 6809 after a few years. The 6809 remains a favourite of mine. I really liked the instruction set, which I got to know quite well when I later wrote a simulator for it in 68000 assembly lan...
The really disappointing thing is that the APM32F103CB has no FPU ! I was just looking at the Robotdyn site yesterday and saw there where they say "with a higher frequency 96MHz (1.5DMIPS) and a built-in FPU". They go on with more about the benefits of having the FPU. So did you advise th...