Skip to content

Commit d43c755

Browse files
tekka007mfalkvidd
authored andcommitted
Fix RFM95 reset (#982)
I've verified that the datasheet says to go low, and checked that the commit history does not indicate a reason for doing otherwise.
1 parent 0042cd4 commit d43c755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/RFM95/RFM95.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ LOCAL bool RFM95_initialise(const uint32_t frequencyHz)
138138
RFM95_powerUp();
139139
#if defined(MY_RFM95_RST_PIN)
140140
hwPinMode(MY_RFM95_RST_PIN, OUTPUT);
141-
hwDigitalWrite(MY_RFM95_RST_PIN, HIGH);
141+
hwDigitalWrite(MY_RFM95_RST_PIN, LOW);
142142
// 100uS
143143
delayMicroseconds(100);
144-
hwDigitalWrite(MY_RFM95_RST_PIN, LOW);
144+
hwDigitalWrite(MY_RFM95_RST_PIN, HIGH);
145145
// wait until chip ready
146146
delay(5);
147147
RFM95_DEBUG(PSTR("RFM95:INIT:PIN,CS=%" PRIu8 ",IQP=%" PRIu8 ",IQN=%" PRIu8 ",RST=%" PRIu8 "\n"),

0 commit comments

Comments
 (0)