komalkaurr / Group_3_Winter-2021

EMBT Term 4 ESE_4009_2_Embedded Systems Engineering Project Group_3
0 stars 0 forks source link

Touch Screen Interface #5

Closed mikeshams closed 3 years ago

mikeshams commented 3 years ago

What issues did you face with this task and how did you resolve them?

Davinderaman commented 3 years ago
mikeshams commented 3 years ago

Use the following link and try to integrate your python code into C. https://docs.python.org/3/extending/embedding.html?highlight=pfunc#very-high-level-embedding

Davinderaman commented 3 years ago

Here is C code for calling Python code( Interfacing touch screen display with BB-WI):

**#include

include

int main( ) { system("python3 nextion.py") };**

Here, nextion.py is a python script, which I uploaded on Github as well.

Davinderaman commented 3 years ago

another issue I have faced during Interfacing touch screen display with BB-WI I don't find the library for nextion touch screen display in C. I created a python code then I call that code in c code. **#include

include

int main( ) { system("python3 nextion.py") };**