|
2025-Robot
Robot code for 2025 FRC season by Argos, FRC team #1756
|
Functions | |
| printStatus () | |
Variables | |
| gp = Gamepad(usb_hid.devices) | |
| led = neopixel.NeoPixel(board.NEOPIXEL, 12) | |
| brightness | |
| tuple | button_pins |
| tuple | gamepad_buttons = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) |
| list | buttons = [digitalio.DigitalInOut(pin) for pin in button_pins] |
| direction | |
| pull | |
| list | statusArray = [True, True, True, True, True, True, True, True, True, True, True, True] |
| bool | algaeMode = False |
| list | reefLevels = ["L1", "L2", "L3", "L4"] |
| list | reefSides = ["Left", "Right"] |
| list | gpModes = ["Coral", "Algae"] |
| int | reefLevel = 0 |
| int | reefSide = 0 |
| int | gpMode = 0 |
| tuple | gamepad_button_num = gamepad_buttons[i] |
| code.printStatus | ( | ) |
| bool code.algaeMode = False |
| code.brightness |
| tuple code.button_pins |
| list code.buttons = [digitalio.DigitalInOut(pin) for pin in button_pins] |
| code.direction |
| tuple code.gamepad_button_num = gamepad_buttons[i] |
| tuple code.gamepad_buttons = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) |
| code.gp = Gamepad(usb_hid.devices) |
| int code.gpMode = 0 |
| list code.gpModes = ["Coral", "Algae"] |
| code.led = neopixel.NeoPixel(board.NEOPIXEL, 12) |
| code.pull |
| int code.reefLevel = 0 |
| list code.reefLevels = ["L1", "L2", "L3", "L4"] |
| int code.reefSide = 0 |
| list code.reefSides = ["Left", "Right"] |
| list code.statusArray = [True, True, True, True, True, True, True, True, True, True, True, True] |