Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to set CS pin without modifying library & fixed ATtiny serial to work with Arduino 1.0 and latest ATtiny code (0014+) #23

Merged
merged 5 commits into from
Sep 11, 2012

Conversation

glynhudson
Copy link
Contributor

When using non-JeeNode hardware we often found we needed to modify the library to set the RFM12B CS pin to be something other than DIG10 (JeeNode). We have added an option to set the CS pin to 10,9 or 8 from within a sketch by calling:

rf12_set_cs(x); //where x is 10,9 or 8

before rf12_initialize. By default CS is set to 10. Out-of-the box JeeNode compatibility still exists.

We have also updated ports.h to get serial to work on the ATtiny with the latest core (0014 onwards). See: http://arduino.cc/forum/index.php/topic,109081.msg857129.html#msg857129

jcw added a commit that referenced this pull request Sep 11, 2012
Added option to set CS pin without modifying library & fixed ATtiny serial to work with Arduino 1.0 and latest ATtiny code (0014+)
@jcw jcw merged commit e874e1b into jeelabs:master Sep 11, 2012
@jcw
Copy link

jcw commented Sep 11, 2012

Many thanks - the configurable CS pin adds a slight overhead, but it'll probably be ok for typical use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants