stevestrong Sat Nov 11, 2017 8:22 pm Hi, just for fun: (the real sound is much better than on the video ) It is exclusively timer based, so all 4 timers are reserved, ..
stevestrong Sun Oct 29, 2017 9:20 am I have a project in which I need some short sound effects, without reading WAV files from SD card. To output PWM audio, current ..
KenLaszlo Fri Nov 24, 2017 2:12 pm Hi folks Roger encouraged me to make a post here, so here’s me ‘taking the plunge’. My first code-snippet / project. ..
Vassilis Mon Aug 17, 2015 5:37 pm Today I received my new STM32F103VET board and I tried to test the DAC feature. I did a quick search on this forum but I didn’t ..
petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 (Maple Mini) to 48MHz (for energy efficiency reasons). According to the datasheet ..
Rick Kimball Thu Jul 14, 2016 5:21 pm A while back I had created a template based ring buffer (circular buffer) using C++ templates for the msp430 mcu. It was faster ..
Slammer Wed Apr 13, 2016 11:58 pm I miss very much the old-school printf() function…. I am tired to write again and again Serial.print() commands to display ..
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 ..