Data Sheet

UCTRONICS Ultimate Starter Leaning Kit for Raspberry Pi #K0064
112 www.uctronics.com
2. Program
Python user:
2.1 Edit and save the server code with vim or nano on the Raspberry Pi.
(https://github.com/UCTRONICS/Arducam_Starter_Kit_Python_Code_for_RPi.git)
2.2 Run the program
$ sudo python ledServer.py (On Raspberry Pi)
$ python ledClient.py (On PC)
Now, input
ON
in the terminal and then press Enter, you will find the LED connected to the
Raspberry Pi is on, input
OFF
, the LED is off.
8.20.5 Summary
By learning this lesson, you should have understood the basic principles of inter-computer
communication. I hope this lesson will help you open the door to learn IoT(Internet of
Things).