raspberry pi
jerry173985
这个作者很懒,什么都没留下…
展开
-
CrowPi 2 image and fixes
Crowpi 2 githubCrowpi 2 image google drive link原创 2020-12-30 20:20:24 · 116 阅读 · 0 评论 -
ultrasonic sensor :
ultrasonic sensor :gpio wiring:https://thepihut.com/blogs/raspberry-pi-tutorials/hc-sr04-ultrasonic-range-sensor-on-the-raspberry-pipython code:https://tutorials-raspberrypi.com/raspberry-pi-ultrasonic-sensor-hc-sr04/原创 2020-11-16 02:15:13 · 345 阅读 · 0 评论 -
raspad os buzzer,led and button code
sudo python blinking_lcd (25green,23,24 )import timeimport RPi.GPIO as GPIO# define LED pinled_pin = 25# set GPIO mode to GPIO.BOARDGPIO.setmode(GPIO.BCM)# set puin as inputGPIO.setup(led_pin, GPIO.OUT)try: while True: # turn on LED原创 2020-11-02 03:11:00 · 260 阅读 · 0 评论 -
pimoroni explorer hat servo motor
Youtube Explorer Hat Motorhardware wiring (ppt) with code of the youtube aboveCode:python motor.py>>> import RPi.GPIO as IO>>> import time>>> from time import sleep>>> IO.setwarnings(False)>>> IO.setmod原创 2020-10-14 03:55:00 · 89 阅读 · 0 评论 -
LCD 2004with raspberry pi 3
2004 LCD software part: 2004 LCD Hardware Wiring YoutubeImportant how to test method/class ina python file:>>> import os>>> os.chdir('./')>>> import lcd>>> lcd.lcd_init()>>> lcd.lcd_byte(lcd.LCD_LINE_1,lc原创 2020-10-08 06:28:45 · 211 阅读 · 0 评论