File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 1515import pwmio
1616import busio
1717
18-
19-
2018#--------------- PINS DECLARATION ---------------#
2119
22- # IR_Cmd pin declaration
23- ir_cmd_pin = DigitalInOut (board .IO34 )
24-
25- # boot pin declaration
26- boot = DigitalInOut (board .IO0 )
27-
28- # Line led declaration
29- lineLed = DigitalInOut (board .IO18 )
30-
31- # UART pins declaration
32- uart = busio .UART (board .IO43 , board .IO44 )
33-
34- # I2C pins declaration
35- i2c = busio .I2C (board .IO8 , board .IO9 )
36-
37- # Header pins declaration
38- header_3_pin = DigitalInOut (board .IO2 )
39-
4020# Setup the BATTERY voltage sense pin
4121vbat_voltage = AnalogIn (board .BATTERY )
4222
5939BIN1 = pwmio .PWMOut (board .IO35 )
6040BIN2 = pwmio .PWMOut (board .IO37 )
6141
62-
63-
64-
6542#--------------- INTERNAL VOLTAGES ---------------#
6643
6744# Measure the battery voltage
You can’t perform that action at this time.
0 commit comments