Hello David,
I am working on adding support for the TCA8418 expander to uLisp, aiming to create a device with a full keyboard. Currently, I have a prototype with a 4x4 keypad, but my goal is to develop a device similar to the Lisp Badge, complete with a TFT display.
Following your suggestion, I used the T-Deck implementation by essentially copy-pasting it into the ulisp-arm version.
I managed to get the display working correctly, and the expander now seems to be functioning as expected. However, the overall system isn’t behaving properly.
I can send commands via PuTTY and use my keypad to enter commands. Unfortunately, no output is shown on the display. The results only appear in the terminal, followed by a new prompt. When I continue entering new commands, they simply accumulate on the display without any proper formatting.
When I send the (fill-screen) command from the terminal, the display correctly clears. However, text rendered afterwards starts from the middle of the line on the display. Despite this, expression evaluation works, and I can still use both the keypad and terminal. Highlighting works fine all the time.
I am curious about the differences between the T-Deck and the Raspberry Pi Pico which would cause this behaviour.
I would appreciate any hints on how to make it work.
Thank you!