+ 4
how to use python to code raspberry pi
5 ответов
+ 6
Here is a good website to start with:
https://www.raspberrypi.org/documentation/usage/JUMP_LINK__&&__python__&&__JUMP_LINK/
+ 2
Raspberry Pi is a kind of small computer with variant of Linux, Windows and other embedded system OS.
Once the OS is installed you can write and run a python program same as computer.
Power of Raspberry Pi come from access to input output pins called GPIO. Using them you can connect and control external devices.
Documentation for GPIO: https://www.raspberrypi.org/documentation/usage/gpio/
For python, there is a library to easily use gpio pins called RPi.GPIO
It can be imported in the python program and can be used like any other imported library.
http://makezine.com/projects/tutorial-raspberry-pi-gpio-pins-and-python/
+ 1
python IDLE is installed on Rpy, if you use it with rasbian OS.
0
What GNU/Linux distribution are you running.