项目地址:https://www.tinkercad.com/things/1maNW6J7e7k-elevator-simulation #include <LiquidCrystal.h>#definepwm1 9#definepwm2 10//#define tmpPin A0//#define piezoPin 8//boolean direction = 0;//const int tempmax=35;//int speed;inti=1; LiquidCrystal lcd(12,11,5,4,3,2);#definebtn3...
用Tinkercad学arduino之 LCD温度显示报警器 项目地址:https://www.tinkercad.com/things/9Yv09OZnrXy-temperature-sensor-with-display //CREATED BY GIOVANNI, LUCAS B, LUCAS F & THIAGO.//WHEN THE TEMPERATURE IS HIGHER THAN 35ºC IT PLAYS ANOTHER SOUND FREQUENCY.//Include the library code.#include...
Tinkercad Projects » In the long tradition of fortune telling Magic 8 Balls I created a self-contained Magic 2 Ball running a Raspberry Pi Zero 2. When you shake the ball and turn it over, the answer tile is displayed on a round screen and the answer is spoken out loud. The 110mm...
项目地址:https://www.tinkercad.com/things/0k0l2s7QP3l-arduino-voltmeter-ammeter #include <LiquidCrystal.h>LiquidCrystal lcd(12,11,4,5,6,7);floatvoltageInput =0.0;floatvoltageReading =0.0;floatcurrentReading =0.0;floatRA =15000.0;floatRB =1500.0;voidsetup() { lcd.begin(16,2); lcd.clear()...
项目地址:https://www.tinkercad.com/things/cz2cdSN3EFS-pir-sensor-with-lcd-display #include <LiquidCrystal.h>LiquidCrystal lcd(12,11,7,6,5,4);voidsetup() { Serial.begin(9600); lcd.begin(16,2); pinMode(8,INPUT); }voidloop()
项目地址:https://www.tinkercad.com/things/cz2cdSN3EFS-pir-sensor-with-lcd-display #include <LiquidCrystal.h>LiquidCrystal lcd(12,11,7,6,5,4);voidsetup() { Serial.begin(9600); lcd.begin(16,2); pinMode(8,INPUT); }voidloop()
用Tinkercad学arduino之 LCD显示Hello World /*LiquidCrystal Library - Hello World Demonstrates the use a 16x2 LCD display. The LiquidCrystal library works with all LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you...