0

Physical computing with Python and C/C++. Raspberry Pi and Arduino.

There's no bio here, so I'm posting just for it to show up in my profile. I'm here to learn Python and and a few variations of C. Raspberry Pi uses Python to interface with on board components and Arduino IDE uses mainly C and C++. Python is much easier use with the Raspberry Pi than C is with the Arduino. Learning C and variations of C will be my biggest challenge.

28th Dec 2016, 4:58 PM
Kurt
Kurt - avatar
6 Respostas
+ 2
so coding for the arduino in c++ wasn't such a big challenge after all...
4th Feb 2017, 8:37 PM
seamiki
seamiki - avatar
+ 1
Haha touche. Yes, not extremely difficult when using it with the Arduino. I really just wanted better comprehension so that I'd be able to come up with my own projects and not rely on existing projects so much. I've done a lot of copying and pasting.
4th Feb 2017, 8:40 PM
Kurt
Kurt - avatar
0
biological you mean?
28th Dec 2016, 8:39 PM
Minovsky
Minovsky - avatar
0
Nope. Controlling/interaction with components. Servos, LEDs, sensors etcetera. Microcontrollers such as Arduinos and Raspberry Pis can interact with these peripherals/components using Python and C.
28th Dec 2016, 8:44 PM
Kurt
Kurt - avatar
0
Upload "firmata" code on your arduino to be able to define its behaviour in your python code. In this way you don't need to create the c++ arduino program but you will "instruct the arduino" on what to do, from your python program dynamically using the firmata protocol through serial communication.
4th Feb 2017, 7:21 PM
seamiki
seamiki - avatar
0
Whilst that is very interesting; to get the most use out of the Arduino, I believe it'd be easier just to stick with using the traditional way through flashing with the Arduino IDE.
4th Feb 2017, 8:16 PM
Kurt
Kurt - avatar