Bill Westfield
Bill Westfield
I've noticed a couple people trying to use ATtiny10s recently. They have as much flash as an ATtiny13, so it's ... not impossible. There is at least on "core", but...
platform.txt contains: ``` # fixed registers: r4 = isr_tmp, r3:r2 = WDT counter for millis #compiler.optimize_flags=-Os -flto -fno-move-loop-invariants -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4 compiler.optimize_flags=-Os -flto -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4 ``` However,...
The timer0 interrupt code maintains t0_fract, but the micros() function only counts milliseconds plus timer count values, leaving out that fractional milliseconds that have elapsed, and thus producing incorrect results....
In various situations, ranging from restrictive or expensive venues, to remote areas with poor internet service, it is desirable to be able to install the Arduino IDE (multiple compilers, and...
It looks like digitalWriteFast (in Arduino.h) has some cut&paste errors, for example: ``` if (val == LOW) { *out &= ~mask; // 1/1 } else { // 1/1 *out &=...
The Uno R4 implementation of random() uses the Renesas RA4M true random number generator, which is part of their "security and crytography" support ("SCE"). Therefore, it needs to initialize the...
It turns out that the HW_SCE_McuSpecificInit() function is pretty slow (~97000us on an RA4m1 (Arduino Uno R4)), causing code that naively calls it every time one wants a random number...