[Flashforth-devel] Flashfort and UNO-TFT display/ili9341
Brought to you by:
oh2aun
From: Peter H. <p.h...@we...> - 2024-08-21 19:12:14
|
Hello Mikael, hello FF friends, I might need your help again. After 2023-04-08 I was helped by Stefan regarding my request for the TFT display/ili9341 -> https://github.com/bitflipser helped me. He has programmed TFT “basic routines” and I some “Forth terminals”, “controls” and “extensions”. With his Optiforth we were both able to realize Forthgraphic routines via PC, e.g. drawings/piano/chessboard/HDMI images etc. in just a few minutes. Everything is selected/positioned/drawn using the PC mouse and the code is automatically sent to the UNO and displayed pixel-accurately. Problems -> Optiforth is only available for the UNO_328P/32kB and Stefan is unfortunately out. With larger processors there would be further advantages here. After having tested all Forths known to me before and having tested Mexrips, noForth & ZeptoForth afterwards, I think Mikael's Flashfort is clearly better, again --> congratulations! What could perhaps be a little more would be more hardware resources. That's why I had handed over the sources for “LCD-Shield on UNO-Board” in March 2023 and also programmed a control control for it in the last two terminals. Attached is now a small basic program for initializing the “TFT-Shield on UNO-Board”. Simply use the familiar -> 2.4 inch TFT LCD Touch Display Shield for 5V <- the UNO. It implements the -> “FF” (Flashfort) display on the TFT display as an example in the color frame. I can't offer more at the moment, because in Flashforth there are the commands: *_0until, 0if, do, loop and pick_* unfortunately not! Who can help me? If I could use these words, the previous solutions (with PC mouse via lines/dots/circles/round corners/rectangles/buttons/graphics) would be easily possible in real time. I would be happy to make final programs and terminals including controls available to the FF community. best regards Peter _Note on program transfer times:_ --> with Teraterm (TD >= 250ms/line!) the time at 38600 Bd is approx. 9 sec. I generally work with 115200 Bd in FF and achieve 2 sec. in my Windows terminal or if I switch internally to my DOS terminal --> 1 sec.!!!). This instruction (https://wellys.com/posts/flashforth_compile/) works well with the 250000 Bd (--> e.g. in my terminal the Win times/DOS times are halved again!). If you don't want to install the huge MPLAB X IDE v.6.20 you can simply change the baudrate in the hexfile: original: 00004D93 33 (38600 Bd) --> 30 (115200 Bd) --> 37 (250000 Bd)_ _ |