[Swlug] Using the ATTiny13 microcontroller.

Rhys Sage rhys_sage at yahoo.com
Sat Aug 17 23:51:09 UTC 2024


I set myself a challenge by buying ATTiny13s. I thought I was buying ATTiny85s which have 512 bytes of ram and 8k of flash. Instead I got 1K of flash and 64 bytes of ram.

My first programming attempt using code I've already used successfully on the ATTiny85 and various Arduino modules failed as I ran dismally out of ram. I only used 4 times the available amount.

I was wondering whether there was a way of remapping the memory and indeed there is. A very handy feature called "PROGMEM" which stores constants in the program(flash)  memory. 

I never thought I'd be programming a microcontroller that was of the same stunning power as the ZX80, some 40+ years later!

Rhys Sage



More information about the Swlug mailing list