victor_pv Sat May 02, 2015 2:37 pm Just wanted to share this square root calculation algorithm that I found a few weeks back: http://medialab.freaknet.org/martin/src/sqrt/sqrt.c ..
arpruss Sat Nov 25, 2017 8:00 pm I made some fast bitband-based gpio preprocessor macros that generate fast and small i/o code. They work only with pin numbers explicitly ..
dannyf Mon Oct 09, 2017 12:03 pm I wrote a quick piece to chain two 16-bit timers here: https://dannyelectronics.wordpress.com/ … it-timers/ the relevent portion ..
victor_pv Wed Apr 29, 2015 11:56 am Hi all, I noticed recently that even though PIN_MAP is declared as const, it is stored in RAM. As it is a constant, I don’t ..
RogerClark Wed May 27, 2015 1:02 am Guys, This code may be useful to someone . Its possible to read the size of the Flash memory and more interestly a unique device ..
miki Wed May 18, 2016 10:30 pm Hi, I need some help.I want to use 3 wire spi comm with a rf module. I need to use MOSI pin, bidirectional for write and read .How ..
ag123 Wed Nov 07, 2018 7:21 pm hi all, i’ve published a event loop for stm32duino (based on libmaple core) (updated this post in the readme.md on github, formatted ..
Rick Kimball Wed Nov 04, 2015 9:05 pm const uint8_t led = BOARD_LED_PIN; enum { LED_ON=0, LED_OFF=1 }; // for Blue Pill .. active low led void setup_vcc_sensor() ..
madias Mon Apr 27, 2015 3:51 pm easy to use sketch for setting up multiple encoders with acceleration (faster movements, more data increase). IRQ driven, HW timer ..
enif Fri Aug 14, 2015 1:26 pm When trying to port my little “car blink sound booster” program to the Maple Mini, I realized that there are no tone() ..
jdenis Wed Aug 22, 2018 7:28 am So I needed an incremental encoder for my project, I bought some cheap ones from china, something around 10usd each… After ..
Rick Kimball Mon Jun 15, 2015 9:20 pm I got pretty spoiled with other microcontroller architectures that allowed you to use delay_cycles to do sub microsecond delays ..
Pito Fri Aug 25, 2017 8:37 am Here is an example with measuring Interrupt Latency. AttachInterrupt function used. In the code the PA14 and PA15 are used for INTR_IN ..
iwalpola Sun Jul 03, 2016 9:35 pm Sources: http://embedded-lab.com/blog/stm32-gpio-ports-insights/ http://hertaville.com/stm32f0-gpio-tutorial-part-1.html The libmaple ..
Rick Kimball Tue Jun 09, 2015 8:44 pm I’ve taken the gpio code I posted in another thread to the next level. This one provides PIN abstraction and some nifty ..
Rick Kimball Sun Jun 07, 2015 3:59 pm In another thread, I had made brief mention of using placement new to delay the constructor call of an object. However, it isn’t ..
ag123 Tue Nov 27, 2018 3:38 pm edit: this now has its own examples and library posted on github https://github.com/ag88/stm32duino_rtcadj more details here viewtopic.php?f=18&t=4365&start=10#p51483 ..
Rintin Fri Jan 29, 2016 5:58 pm Hi, I’ve got this RF mini controller for the WS2812b. I figured out that it sends on 433Mhz. I connected one of these Rf-receivers ..