fix devAddr bug

This commit is contained in:
Morgan Redfield 2016-07-03 14:18:02 -07:00 committed by GitHub
parent 705884497a
commit d98eafb11a
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ HamShield::HamShield() {
HamShield::HamShield(uint8_t cs_pin) {
devAddr = cs_pin;
pinMode(A1, OUTPUT);
pinMode(devAddr, OUTPUT);
digitalWrite(A1, HIGH);
pinMode(A4, OUTPUT);
pinMode(A5, OUTPUT);