Some background: I have relatively fundamental skills in C++, but I think I can get some things done if I get general code architecture guidance, so I’d like to seek feedback on what I would like to do and whether my understanding of the major components is correct.
I will be working on integrating a Q10 keyboard circuit and most likely a 2 axis nav switch in a new interface, likely a 1.8in TFT. Meaning I am going to work on a fork that will fundamentally no longer work with a bluetooth app but rather in autonomous fashion (I guess they could also work concurrently).
I think the high level of what I have to do in the code feels like the following:
- Introduce another loop IFDEF within main.cpp that will check keyboard/inputs.
- Introduce a distinct screen class and its set of IFDEFs (sorry, I dont have accurate linguistics for those). That screen class will be based on ILI9341 or ST7735, as opposed to the existing SH1106/SSD1306. Those are SPI devices, probably need to be DEFed in as a ?platform? option
- While the screen already receives a copy of the messages, I would also need to support sending messages. Thus I will need to find out how I can call the PhoneAPI::handleToRadio() function to send a string, for instance.
My current challenges are mostly around 3 above, since I dont really see an “easy” way to just send function that accepts a char, let alone a String.
I have a clear tendency to chew more than I can take - if anyone can give me generic guidance, confirm if my understanding above is good (or perhaps that I am patently insane), I would truly appreciate that…