EasyManua.ls Logo

SunFounder TS-10 - Page 96

Default Icon
213 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder TS-10 10.1-inch Touch Screen
Open the code.
cd /home/pi/cloud4rpi-raspberrypi-python
sudo nano smart_light.py
Find the line below and fill in the correct device token.
DEVICE_TOKEN = '__YOUR_DEVICE_TOKEN__'
Run the code.
sudo python3 smart_light.py
Go to Cloud4RPi, add a new Control Panel named project3, and click Add Widget to add a Slider widget.
92 Chapter 5. PROJECTS AND ACTIVITIES

Related product manuals