[tool] adc io

This commit is contained in:
IrvingGao 2024-06-25 23:09:14 +08:00
parent d95885295b
commit f4f45e1391
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from wiringpi import GPIO
if __name__ == '__main__': if __name__ == '__main__':
ADC_Pin = 6 ADC_Pin = 6
wiringpi.wiringPiSetup()
wiringpi.pinMode(ADC_Pin, GPIO.INPUT) wiringpi.pinMode(ADC_Pin, GPIO.INPUT)
while True: while True: