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

Added Arduino Leonardo RF12B CS pin select functionality #24

Closed glynhudson closed 12 years ago

glynhudson commented 12 years ago

Added functionality for Arduino Leonardo to utilise rf12_set_cs(x) function where x is the Arduino digital pin to be used as RF12B's CS pin. Only digital 10,9 or 8 can be used since they are on the same port. If rf12_set_cs(x) is not called JeeLib will default to standard library pin definitions (digital 10 for Arduino Uno and Leonardo) .