Using USI as a UART in the ATtiny 25/45/85

14 posts / 0 new
Last post
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Those sound an awful lot like IAR specific functions. Sounds like you have some porting work to be done to convert from IAR to GCC
Thanx, clawson. I reviewed interrupt.h, and sleep.h and replaced the "offending" function calls with their GCC-AVR alternatives. The program compiled without problems. Now for the "Smoke Test"........

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Wrote a naive implementation that's probably a good starting point. Check it at my blog http://electronic-excursions.blogspot.com. It's a good place to start and pretty easy code to decipher. TX is done too and will be posted soon.

Thanks.

Pages