Skip to content

ThetaGamma/Troopers19_Badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Troopers19_Badge

My inoffical collection of Troopers19 Badge Stuff

ESPTool stuff

  • install esptool from https://github.com/espressif/esptool
  • check connection and hardware: esptool.py -p /dev/ttyUSB0 flash_id
  • connect to serial with screen: screen /dev/ttyUSB0 115200 (exit with CTRL-A K)
  • write image: `esptool.py -p /dev/ttyUSB0 write_flash 0x0 flash_4MB.bin

Micropython stuff

  • connect to serial with screen: screen /dev/ttyUSB0 115200 (exit with CTRL-A K) (or miniterm or minicom or putty or...)
  • it seems you need to break the current (menu?) program with CTRL-Cto go to the >>> prompt

fiddling with files (all commands within Micropython (MP) prompt

Hint: TAB completion works. so type os.and hit TAB to see posibilities

import os
os.listdir()        # see directory /
os.listdir("/apps") # see directory /apps

fs = open("config.json")
fs.read("config.json")
fs.close()

Others Work

About

My inoffical collection of Troopers19 Badge Stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages