+ 2
Can any programming language be used to program a microcontroller?
Electronics coding
4 Answers
+ 1
Depends on microcontroller of course. Arduino only support c++ but something more complex like raspberry pi you can use many different languages.
+ 1
@Toni. how do you then communicate with the pins
0
@Toni
You can use other languages with the Raspberry Pi. But the question is would you want to? And the answer is no. You generally want to get as much performance as possible out of microcontrollers. So you use C/C++.
0
@Abayomi
By using each microcontroller's API. Arduino, for example, has functions like pinMode, digitalWrite, digitalRead etc.