You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Photon 2, the `CHG` digital input is `HIGH` (1) when charging and `LOW` (0) when not charging, however you must set `pinMode(CHG, INPUT_PULLUP)`. You only have to set `pinMode` once, such as in setup.
4756
4764
4765
+
{{collapse op="end"}}
4766
+
4757
4767
4758
4768
### Battery Voltage - Argon
4759
4769
@@ -19735,20 +19745,21 @@ void setup() {
19735
19745
19736
19746
Returns a code describing reason of the last device reset. The following codes are defined:
19737
19747
19738
-
- `RESET_REASON_PIN_RESET`: Reset button or reset pin
0 commit comments