DEVLOG 1: programming day 1
today i crossed off a little from my roadmap today:
// TODO:
// FLASH MEMORY [] - https://www.pjrc.com/teensy/W25Q128FV.pdf
// ESP_LCD [x]
// DRAW FUNCTIONS/VISUALS [-]
// LUA INTEGRATION []
// BUTTONS [x]
this is at the top of every main.c file i have on my github page.
you can find today’s work here on my github page.
some things i learned today:
- how to make header files. this one was actually kind of fun. i liked
writing the descriptions for the functions and seeing them show up when i
hover over the function in vscode. it’s a good way of organizing
different functions. i was originally going to use a struct or something
to hold all of the functions, like how a class would, but header files
seemed like the better choice. - how to use pointers. not fun at all, but it had to be done. learned from this video the most:
https://www.youtube.com/watch?v=2ybLD6_2gKM&t=438s . i used that for myget_button_pressfunction
those are the major things i learned.
tomorrow i plan on using littlefs for the flash memory so i don’t need to set raw memory addresses and break stuff.
i wrote this kind of program before, so that’s why i was able to do this on the faster side. tomorrow will probably be a much slower day since im learning something completely new (littlefs).
i really hope stardance allows me to timelapse my drawing process, that would be an easy day off…….👀
the first image shows my wiring, the second shows the program actually running. i dont know why i chose that gross color, let’s just pretend i did yellow for a star for stardance
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.