| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -165,7 +165,7 @@ protected static void checkValidPin(int pin) { | |||
| 165 | 165 | * the sketch is going to achieve. | |
| 166 | 166 | * @param ms milliseconds to pause | |
| 167 | 167 | */ | |
| 168 | - protected static void delay(int ms) { | ||
| 168 | + public static void delay(int ms) { | ||
| 169 | 169 | try { | |
| 170 | 170 | Thread.sleep(ms); | |
| 171 | 171 | } catch (InterruptedException e) { | |
@@ -196,7 +196,7 @@ protected static void delay(int ms) { | |||
| 196 | 196 | * you might be disappointed. | |
| 197 | 197 | * @param us microseconds to pause | |
| 198 | 198 | */ | |
| 199 | - protected static void delayMicroseconds(int us) { | ||
| 199 | + public static void delayMicroseconds(int us) { | ||
| 200 | 200 | int ms = (int)(us / 1000); | |
| 201 | 201 | int ns = (us - (ms * 1000)) * 1000; | |
| 202 | 202 | try { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments