We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a8c239 commit b650cc6Copy full SHA for b650cc6
src/SFE_MicroOLED.cpp
@@ -283,9 +283,9 @@ void MicroOLED::beginCommon()
283
// Display reset routine
284
pinMode(rstPin, OUTPUT); // Set RST pin as OUTPUT
285
digitalWrite(rstPin, HIGH); // Initially set RST HIGH
286
- delay(5); // VDD (3.3V) goes high at start, lets just chill for 5 ms
+ _delay_ms(5); // VDD (3.3V) goes high at start, lets just chill for 5 ms
287
digitalWrite(rstPin, LOW); // Bring RST low, reset the display
288
- delay(10); // wait 10ms
+ _delay_ms(10); // wait 10ms
289
digitalWrite(rstPin, HIGH); // Set RST HIGH, bring out of reset
290
291
// Display Init sequence for 64x48 OLED module
0 commit comments