We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc0959c commit c7c72b9Copy full SHA for c7c72b9
elio.py
@@ -15,28 +15,8 @@
15
import pwmio
16
import busio
17
18
-
19
20
#--------------- PINS DECLARATION ---------------#
21
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
40
# Setup the BATTERY voltage sense pin
41
vbat_voltage = AnalogIn(board.BATTERY)
42
@@ -59,9 +39,6 @@
59
BIN1 = pwmio.PWMOut(board.IO35)
60
BIN2 = pwmio.PWMOut(board.IO37)
61
62
63
64
65
#--------------- INTERNAL VOLTAGES ---------------#
66
43
67
44
# Measure the battery voltage
0 commit comments