Python application with C Arduino system

Hello,

I would like to know if I want to build an application in Python to control Arduino board which has seperated coding using C, can I do that? If I can, what library can I use to communicate between the two codes, or is it better to just do everything in python and use library to communicate it with the board?

The example:
When I click a button in the app which was built in Python, it will send a variable to arduino which was built in C and the arduino will check which condition does the received variable was met and function according to that condition.

Thank you.

Thank you very much, I thought I have to do everything in Python and use library to control the board so I worry about the response time of the board using python.

For the Arduino side, have a look at the Serial Input Basics tutorial.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.