Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.76k stars 1.08k forks source link

Example for serialplotter #835

Closed yilmaz1964 closed 3 years ago

yilmaz1964 commented 3 years ago

Thank All for the effords, This the only Library that worked for me. May I ask if it is possible to make SerialPlotter example code . It would help me with my ecg project. Thanks U.

Bodmer commented 3 years ago

No special code in the library is required to use the Arduino IDE's Serial Plotter. You just need to send the values to the serial port and select the Arduino IDE plotter window.

yilmaz1964 commented 3 years ago

Hi Thanks for the fast reply. Sorry for my bad English. In the example codes there is an example TFT_eSPI/320x240/TFT_Terminal.ino which works perfectly. Is it possible to write code for the tft to emulate a Terminal plotter? like the serial plotter inside the Arduino ide, but for the tft screen. Thanks Greetings from Belgium. Yilmaz,

Op do 26 nov. 2020 00:00 schreef Bodmer notifications@github.com:

No special code in the library is required to use the Arduino IDE's Serial Plotter. You just need to send the values to the serial port and select the Arduino IDE plotter window.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Bodmer/TFT_eSPI/issues/835#issuecomment-733982518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR4NWPOK76DAT6T7IAAH7FDSRWEARANCNFSM4UCPVZBQ .

Bodmer commented 3 years ago

Use the Sprtie_scroll_4bit example as a starting point. This draws a scrolling graph.

You will need to parse the ASCII stream into integer values then plot them. Typically the stream would be comma separated numbers.

The library examples are written to show features of the library and need to be expanded and modified for projects.