Pickle Pong Progress
Had a good time yesterday starting to write a pong app with Arduino C and the ST7735R driver/display. I got the ball moving, but now need to transition to OOP. Need to research the syntax for instantiating objects and creating classes in Arduino C.
I spent a bit of time debugging my code. I encountered an issue where the ball would run off the screen into never-neverland. Debugging micros is always a stretch as you have to visualize what the code is doing and what you think is happening. Remembering the states of the application and holding those details in your head requires a substantial effort of focus. I find my old brain will just wander off which is incredbily frustrating. Is what it is.
I left the ball running over night and was quite pleased to see when I came downstairs this morning it was still happily boundince along.
I know this is very basic stuff and probably covered in middleschool (definitely highschool) programming courses these days, but it just makes me happy. I love the retro game magic and the challenge of getting these various components working together. It is both challenging and inspiring, for me at least.



Post Comment