fix devAddr bug
This commit is contained in:
parent
705884497a
commit
d98eafb11a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue