Go to file
noah metz 68a9141445 Added usb(again). Need to make a USB probe cable to put the signals in a protocol decoder. 2023-03-07 21:48:11 -07:00
board Disabled clocks other than HSE, updated board name, changed RTC values to match clock, changed temporary draw code. 2023-03-03 20:54:04 -07:00
cfg Added usb(again). Need to make a USB probe cable to put the signals in a protocol decoder. 2023-03-07 21:48:11 -07:00
lib Added tinymt for randomization and started defining the in-game layout 2022-12-01 17:00:47 -07:00
src Added usb(again). Need to make a USB probe cable to put the signals in a protocol decoder. 2023-03-07 21:48:11 -07:00
tools Enabled debug in chconf.h, Fixed threading and stack issues. Added lock to dma_irq. 2023-03-05 15:50:36 -07:00
.gitignore Updated .gitignore 2023-03-03 21:39:25 -07:00
.gitmodules Added tinymt for randomization and started defining the in-game layout 2022-12-01 17:00:47 -07:00
Makefile Added usb(again). Need to make a USB probe cable to put the signals in a protocol decoder. 2023-03-07 21:48:11 -07:00
README.md Add simulation program and instructions 2023-02-21 02:06:14 -07:00

README.md

LED Firmware

Simulator

The simulator mocks the appearance of the LED panels within a Python tkinter window, using approximately the same code as the panels.

Setup Virtual CAN

# modprobe vcan
# ip link add ${CAN_INTERFACE} type vcan
# ip link set ${CAN_INTERFACE} up
 - CAN_INTERFACE is the name of the virtual interface

Building

# make sim

Running

# ./build/VEX_RGB_sim ${CAN_INTERFACE} ${CAN_ID} | ./sim.py