jeelabs / jeelib

JeeLib for Arduino IDE: Ports, RF12, and RF69 drivers from JeeLabs
https://jeelabs.org/202x/sw/jeelib/
The Unlicense
490 stars 215 forks source link

Add ATmega32U4 (Arduino Leonardo) support to RFM12B lib #18

Closed glynhudson closed 12 years ago

glynhudson commented 12 years ago

I've successfully managed to hook up an RFM12B up to an Arduino Leonardo (ATmega32U4), it was a bit of a port mapping nightmare! The hardware SPI pins and IRQ ports have moved from where they are on the ATmega328. I've added the correct port mapping into RF12.cpp.

Full details and connection diagram here: http://openenergymonitor.blogspot.fr/2012/06/arduino-leonardo-atmega32u4-and-rfm12b.html

All the best, Glyn.

jcw commented 12 years ago

Fantastic achievement, Glyn! Many thanks for sharing this!