SunFounder TS-10 10.1-inch Touch Screen
of the
attendance_statistics
dictionary and
present_time
as the value of the corresponding key. In this
way, the
attendance_statistics
dictionary stores the punch time of the current id.
Finally we write the
attendance_statistics
dictionary to a .csv file and name the file as
'attendance_sheet.'' + presen '.csv'
, so that we store the attendance sheet in time or-
der.
Note:
If you have written the person’s name in the MFRC522 RFID, then replace the
id
with
text
and your
attendance sheet will record the name of the person.
def
get_num
():
return
len
(attendance_list)
Returns the length of
attendance_list
, i.e. the number of attendees.
5.6 GPIO Programming
You can do some interesting projects by leading the Raspberry Pi pins out through a 40pin cable.
Note:
Refer to
instructions for extending the 40 pins of the Raspberry Pi to a breadboard.
SunFounder has a very complete course system about Raspberry Pi GPIO learning kits, such as the following two
learning kits.
•
Electronic Kit for Raspberry Pi and Arduino
This basic learning kit is suitable for the Raspberry Pi and Arduino novice. This kit teaches basic circuit design and
introduces Python programming for beginners.
•
This is an advanced Raspberry Pi teaching kit that contains a robust array of components. This kit teaches physical
computing and Python programming principles for beginners and advanced users.
5.6.1 Electronic Kit for Raspberry Pi and Arduino
Tutorial Link
https://docs.sunfounder.com/projects/electronic-kit/en/latest/index.html
Product Link
Global:
https://www.sunfounder.com/products/electronics-fun-kit
United States:
https://www.amazon.com/dp/product/B07QT78FXF
Germany:
https://www.amazon.de/dp/B07QT78FXF
Canada:
https://www.amazon.ca/dp/product/B07RQ7Z6G4
5.6.2 Da Vinci Kit for Raspberry Pi
Tutorial Link
https://docs.sunfounder.com/projects/davinci-kit-for-raspberry-pi/en/latest/
5.6. GPIO Programming
101
Содержание TS-10
Страница 1: ...SunFounder TS 10 10 1 inch Touch Screen www sunfounder com Nov 19 2021 ...
Страница 2: ......
Страница 6: ...SunFounder TS 10 10 1 inch Touch Screen 2 CONTENTS ...
Страница 9: ...SunFounder TS 10 10 1 inch Touch Screen 5 ...
Страница 10: ...SunFounder TS 10 10 1 inch Touch Screen 6 Chapter 1 HARDWARE DESCRIPTION ...
Страница 16: ...SunFounder TS 10 10 1 inch Touch Screen 12 Chapter 2 INSTALL THE RASPBERRY PI OS ...
Страница 21: ...SunFounder TS 10 10 1 inch Touch Screen pi 3 Step 5 17 ...
Страница 53: ...SunFounder TS 10 10 1 inch Touch Screen Now you have entered OctoPrint 5 3 3D Printer Monitor 49 ...
Страница 123: ...SunFounder TS 10 10 1 inch Touch Screen Also let it appear at the right time 5 7 Scratch Projects 119 ...
Страница 130: ...SunFounder TS 10 10 1 inch Touch Screen Set the balloon to a random position 126 Chapter 5 PROJECTS AND ACTIVITIES ...
Страница 131: ...SunFounder TS 10 10 1 inch Touch Screen Let it change the color and size randomly 5 7 Scratch Projects 127 ...
Страница 141: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 137 ...
Страница 160: ...SunFounder TS 10 10 1 inch Touch Screen Copy out the second Trees 156 Chapter 5 PROJECTS AND ACTIVITIES ...
Страница 165: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 161 ...
Страница 167: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 163 ...
Страница 171: ...SunFounder TS 10 10 1 inch Touch Screen Then we add the Pen extension function 5 7 Scratch Projects 167 ...
Страница 181: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 177 ...
Страница 209: ...SunFounder TS 10 10 1 inch Touch Screen 205 ...
Страница 210: ...SunFounder TS 10 10 1 inch Touch Screen 206 Chapter 7 3D PRINTED SUPPORT ...
Страница 212: ...SunFounder TS 10 10 1 inch Touch Screen 208 Chapter 8 FAQ ...