Discussion Title | Created date |
---|---|
ArduinoShrink library v0.1.0 - v0.7.0 There have been many faster/better replacements for digitalWrite(). What I have not seen is a transparent replacement that works with the stock Arduino core. ... |
Thursday, 9 July 2020 - 22:45 |
WCH MCS-51(8051) USB MCUs Although these cheap chips have been out for a couple years, I've not seen a lot of English documentation about how to use them. I recently picked up a couple of modules (... |
Thursday, 2 July 2020 - 19:11 |
picoboot-lib arduino protocol bootloader in 258 (now 320) bytes I've written a bootloader for tiny AVRs that needs only 258 bytes of flash. It's written to be used as a library, so adding a single include to your main enables the... |
Wednesday, 24 June 2020 - 15:12 |
A full-duplex software UART for tiny AVRs I've written it for the ATtiny13, ATtiny85, and ATtiny84 series. Other AVRs with an 8-bit timer/counter having output compare could be supported with minor modifications to... |
Friday, 12 June 2020 - 04:33 |
how to write foolproof Arduino open-source libraries? When I first started releasing open-source AVR utilities and libraries, I usually released them with just a basic Makefile for building from the command line. If you couldn... |
Wednesday, 20 May 2020 - 13:19 |
tiny AVR timer interrupt bug? After a day of debugging a timer interrupt driven UART I'm writing, I've come to the conclusion that I've found a hardware bug with OCF0A. According to the datasheet, "OCF0A... |
Monday, 18 May 2020 - 15:12 |
USB-TTL UART accuracy and tolerance tests I'm wondering if anyone has already done thorough UART accuracy and tolerance testing. I've read a couple posts where people have tested the timing output of a UART module (... |
Tuesday, 12 May 2020 - 17:35 |
picoUART v1.0 with PCINT receive After multiple requests for a non-blocking interrupt-driven receive function (and seeing a couple hack jobs where someone tried plugging my code into an ISR), I've released a new... |
Friday, 8 May 2020 - 01:45 |
Template for Arduino libraries using archives? I recently figured out that by default Arduino only creates an archive (.a) for the core, and not for any libraries. Despite almost all C developers being familiar with the... |
Friday, 1 May 2020 - 14:34 |
Measuring AVR interrupt latency Since I released my first AVR bit-bang UART several years ago, I've had a number of requests for interrupt-driven receive. For the best accuracy, an interrupt-driven bit-... |
Monday, 27 April 2020 - 21:57 |
attiny sleep wakeup time much longer than spec I've been testing interrupt latency on t13s and t85s, and the datasheet numbers are way off. Table 6-5 (t13) & 6-7 (t85) both state 6 CK for start-up time from power... |
Thursday, 23 April 2020 - 00:51 |
t13 and tx5 PWM datasheet contradictions http://ww1.microchip.com/downloa... Section 11.7.3 says: "In non-inverting Compare Output mode, the Output Compare (OC0x) is cleared on the Compare Match between TCNT0 and OCR0x,... |
Wednesday, 22 April 2020 - 01:47 |