Close

CircuitPython on the Lameboy

A project log for LAMEBOY - another ESP12 handheld

fully portable ESP12 project with battery charging and power muxing

davedarkodavedarko 02/23/2018 at 08:250 Comments

Here are some commands you need to get started to install circuit python and snake on @ɖҿϝիɟթվ s #PewPew FeatherWing engine. How awesome is that :) You can also follow along Radomir's description, which is way better. 

https://hackaday.io/project/21578-pewpew-featherwing/log/100304-lameboy-playing-pewpew-games

sudo esptool.py -p /dev/cu.wchusbserial1410 erase_flash
sudo esptool.py -p /dev/cu.wchusbserial1410 --baud 115200 write_flash --flash_size=detect 0 adafruit-circuitpython-feather_huzzah-2.2.3.bin

// deactivate esp debug to serial
import esp; esp.osdebug(None)

ampy -p /dev/cu.wchusbserial1420 ls
ampy -p /dev/cu.wchusbserial1420 put lameboy.py
ampy -p /dev/cu.wchusbserial1420 put pew.py
ampy -p /dev/cu.wchusbserial1420 put snake.py
ampy -p /dev/cu.wchusbserial1420 put menu.py
ampy -p /dev/cu.wchusbserial1420 put main.py

// in case of errors
import os; os.remove('main.py')

// change attiny i2c adress to allow coms
import lameboy; lameboy.i2c.writeto(0, b'A\x0d\xd0\x0d\x0d')

Discussions