This commit is contained in:
dekunukem
2021-11-30 10:34:50 +00:00
parent d83fd2c838
commit 1a08e4671a
16 changed files with 1154 additions and 74 deletions

View File

@@ -4,7 +4,18 @@ import time
import select
import spidev
import threading
"""
sudo apt install stm32flash
OPTIONAL
git clone https://git.code.sf.net/p/stm32flash/code stm32flash-code
cd stm32flash-code
sudo make install
HAVE TO ACTIVATE BOOT0 THE WHOLE TIME
/usr/local/bin/stm32flash -r hhh -a 0x3b /dev/i2c-1
"""
spi = None
gpio_file = None