What are basics required in python for aurdino board programming? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are basics required in python for aurdino board programming?

help me in this regard!

14th Jul 2017, 2:23 PM
anish Kumar Kadiri
anish Kumar Kadiri - avatar
2 Answers
+ 4
you can't program an arduino directly with python. You can upload the firmata firmware on your arduino and send firmata sentences from your python script through the serial port (checkout pyserial). Or you can define your own protocol of statements without using firmata. In that case you'll need to write the c++ sketch for the arduino and the python script. Below is a very nice set of tutorials based on python 2.7 but they can be ported to python 3 as of now. http://www.toptechboy.com/using-python-with-arduino-lessons/
14th Jul 2017, 4:37 PM
seamiki
seamiki - avatar
+ 2
I require a pot of coffee.
14th Jul 2017, 2:27 PM
AgentSmith