A crimbus tree controlled by an emulated Z80.
- Wire up a NeoPixel compatible LED strand to
D15
on an ESP32. - Update
config.h
'sconfig_ledstrip_LEDCOUNT
to match the length of the LED strand. - Update
config.h
'sconfig_wifi_SSID
andconfig_wifi_PASSWORD
appropriately. - Build, upload code to ESP32.
- (optional) Set up static DHCP so the ESP32 will always get the same IP address. (The MAC address will be printed on the serial console)
- Blast a raw Z80 binary to the ESP32's port 8080.
- Install
binutils-z80
or similar. - Edit
test.s
as you wish. - Open a terminal,
cd
into this project's directory,cd z80-code/
make send
The virtual Z80's IO space is mapped as 1 byte per color channel per LED. ie: IO port 0 is the first LED's first color channel, IO port 2 is the first LED's third color channel, IO port 3 is the second LED's first color channel, etc.
The Z80 emulator was written by superzazu and is under the MIT license. This code is under src/z80/
.
My code is licensed CC0.