Tero's Arduino Blog

Using Arduino with Ada

Software Serial for Adafruit Trinket (TX only)

Trinket on breadboard

Some AVR devices, like attiny85 (on Adafruit Trinket, for example), do not have hardware UART. However, it would be still nice to have serial output from them.

I wrote a simple Soft_Serial package, which can use any GPIO pin as TX UART pin.

package Soft_Serial is
   Serial_Pin : Boolean renames AVR ...
[more]

Page 1 / 1


Copyright © 2012, 2013 Tero Koskinen - Theme Skeleton; Blogging engine Pelican; Powered by Python