- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC SoftwarePSoC 5LP MCU Community would like to draw a graph for the dac (digital analog converter) value corresponding to each adc (analog digital converter) value that I obtained in my project. ADC (I variable), DAC (J variable) I wrote in the program. I want to plot the graph for the corresponding "j" value for each "I". For chart plotting, I can use nextion or tft display shield board cy8ckit-028-use tft. Can you help with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
In the previous post, I forgot to initialize UG.
So I touched up the project a little bit.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please refer to the section 8.1.11 on Drawing Graphs in the emWin documentation. You can find the document at this path: %INSTALL_DIR%/emWinGraphics_v5_46/Documentation/PSoC4_5/UM03001_emWin5.pdf
Use the function GUI_DrawGraph() which takes the following parameters:
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I ported TFT driver from CE2222221_Voice_Recoder sample of PSoC 6.
And modified your project to go with CY8CKIT-028-TFT.
At least putting pixel seems to be working.
There seems to be much more fancy APIs are available in the graphics.c/h, ugui.c/h
so you are on you own to decorate the display format as you like.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi user_13463998 ;
I tried to run the psoc project you sent.but there was no change in the graphical display. I wanted to make sure I was doing the connections right. Can you write which PSOC 5LPpin to connect to which TFT028 pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi;
It worked. thank you so much.