-
I submitted a PR several months ago which adds support for what Arduino calls the "megaavr" architecture, including the Uno Wifi Rev. 2, Nano Every, numerous third party boards, and at least one upcom…
-
So I eventually got around to updating from 1.3.10 and a couple of things stopped working.
1. the standard I2C bus scan finds a device at every address, not just the one device that is actually pre…
-
I have a sketch that has to go to sleep if PIN_PA4 goes LOW and wakeup again if PIN_PA4 becomes HIGH.
I have this code:
```
#include
#define PUSH_BUTTON PIN_PA4
.
.
//---------------------…
-
I've just released picoboot-lib, which I believe is the smallest and least intrusive bootloader for tiny AVRs.
https://github.com/nerdralph/picoboot-lib
It uses the last 256 bytes of flash + 2 bytes…
-
Hi Spence,
Setup:
`` ATtiny85 (optiboot, 8MHz)``
`` ATtinycore (1.4.1)``
`` attachPCINT(digitalPinToPCINT(_PIN_PB3), ISRgetByte, RISING);``
`` using builtin Serial @19200 baud (AI…
-
Hi, at this moment i am trying to play and understand this Tinny core world, thanks Spence to allow it to work with arduino.
Currently now i am testing it on the I2C bus, but a strange behaivour ha…
-
MCU: ATtiny3216
megaTiny library version: latest: 2.2.3
I need to change my approach on my project to use Pin Interrupts as show here;
https://github.com/SpenceKonde/megaTinyCore/blob/master/mega…
-
As pointed out in the link below, the sbi and cbi macros rarely compile down to a single instruction. If you replace them with "regular" bit shifts, code will be faster and occupy less space.
https…
-
First of all, I've used some code I found over at the official Optiboot repo. Using this code I've been able to create a working optiboot.h/cpp library that my new [Flash library](https://github.com/M…
-
````
void RTC_init()
{
/* Initialize RTC: */
while (RTC.STATUS > 0 )
{
; /* Wait for all register to be synchronized */
}
RTC.CLKSEL = RTC_CLKSEL…