You are browsing as a guest. Sign up (or log in) to start making projects!

1h 17m 44s logged

while i wait for my circuit boards, im stuck programming and designing the shell for mallow. this is gonna be a short update because it’s not much of an update at all, rather a todo list.

the first screenshot: my todo list
the x means it’s done already, the - means it’s halfway done, and nothing at all means that i have yet to start that. in short, i have to complete some draw functions, lua(?), flash memory, and the sd card (all in the respective order of easy to hard :face-with-bags-under-eyes: )

the second screenshot: ifdefs
i got inspiration from the TFT_eSPI UserSetup.h file where you uncomment the settings you want. in this case, im just gonna swap back and forth. ifdef just checks if the macro is defined, so BREADBOARD or PCB doesnt hold a value.

the third screenshot: new way of handling flash
i connected the CS pins to an mcp23017 since CS is just high or low values. little did i know, this would make using spi lines harder than it already is :tearing_up-wx:

flash is easy: set the mcp pin to output, add helper functions to drive the CS pin high or low, call it before every spi transaction.

sd cards on the other hand are along the same line now that i think about it. i just say it’s a pain because i need to do exactly what i did for the flash memory again, except for sd card commands. time to read through more documentation :face-with-bags-under-eyes:

other:
+ i think i mentioned this somewhere in my code, but it wouldnt be a shame if the sd card slot doesnt work. i just need it to read from flash memory. i can always flash the game cartridges on my breadboard system.
+ i used carbon for my fancy code screenshots (https://carbon.now.sh)

0
16

Comments 0

No comments yet. Be the first!