摘要:
项目地址:https://www.tinkercad.com/things/j0k4YgzXoDF-ultrasonic-distance-sensor-led-bar-graph-blocks int distanceThreshold = 0; int cm = 0; int inches =
阅读全文
posted @ 2020-12-03 21:25
meetrice
阅读(1749)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/1maNW6J7e7k-elevator-simulation #include <LiquidCrystal.h> #define pwm1 9 #define pwm2 10 //#define tmpPin A0 //
阅读全文
posted @ 2020-12-03 21:10
meetrice
阅读(786)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/k6Edm8cpqNv-arduino-baisc-calculator #include <LiquidCrystal.h> #include <Keypad.h> LiquidCrystal lcd(13, 12, 11
阅读全文
posted @ 2020-12-03 20:59
meetrice
阅读(802)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/0k0l2s7QP3l-arduino-voltmeter-ammeter #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 4, 5, 6, 7); float vo
阅读全文
posted @ 2020-12-03 19:15
meetrice
阅读(558)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/eGecJVrjnyy-l293d-1-motor-5v // connect motor controller pins to Arduino digital pins // motor one int enA = 9;
阅读全文
posted @ 2020-12-03 19:03
meetrice
阅读(2023)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/lIdIxJPUHfg-7-segments-74hc595 int dataPin = 2; int latchPin = 3; int clockPin = 4; int seq[] = {63,6,91,79,102,
阅读全文
posted @ 2020-12-03 18:55
meetrice
阅读(1078)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/5nsSWyQOAkI-chenillard // Arduino Pattern Creator by PhilCam // http://my.free.time.free.fr/ // Use with Uno R3
阅读全文
posted @ 2020-12-03 18:33
meetrice
阅读(1395)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/c4DoDLruMgp-lcd-remote-control // include the library code: #include <LiquidCrystal.h> #include <IRremote.h> //
阅读全文
posted @ 2020-12-03 17:58
meetrice
阅读(1670)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/cz2cdSN3EFS-pir-sensor-with-lcd-display #include <LiquidCrystal.h> LiquidCrystal lcd(12,11,7,6,5,4); void setup(
阅读全文
posted @ 2020-12-03 17:27
meetrice
阅读(1136)
推荐(0)
摘要:
项目地址: https://www.tinkercad.com/things/dXbkCwjcshu int ledPin = 5; int inputPin = 2; int pinSpeaker = 6; int pirState = LOW; int val = 0; void setup()
阅读全文
posted @ 2020-12-03 16:54
meetrice
阅读(1873)
推荐(0)
摘要:
项目地址:https://www.tinkercad.com/things/azCWlFFOMtQ #include <Servo.h> Servo myServo; const int serialPort = 9600; const int potPin = A0; const int serv
阅读全文
posted @ 2020-12-03 12:03
meetrice
阅读(1352)
推荐(0)
摘要:
const byte O = OUTPUT; const byte I = INPUT; const byte H = HIGH; const byte L = LOW; const int serialPort = 9600; const int redLedPin = 11; const int
阅读全文
posted @ 2020-12-03 11:59
meetrice
阅读(599)
推荐(0)
摘要:
项目地址: https://www.tinkercad.com/things/cgPamtJwfSP // Code for `APB-03 Love-O-Meter` // @see https://www.tinkercad.com/things/cgPamtJwfSP const int SE
阅读全文
posted @ 2020-12-03 11:38
meetrice
阅读(1156)
推荐(0)
摘要:
/* Input Pullup Serial This example demonstrates the use of pinMode(INPUT_PULLUP). It reads a digital input on pin 2 and prints the results to the ser
阅读全文
posted @ 2020-12-03 11:14
meetrice
阅读(416)
推荐(0)
摘要:
/* Blink without Delay 无延迟闪烁 Turns on and off a light emitting diode (LED) connected to a digital pin, without using the delay() function. This means
阅读全文
posted @ 2020-12-03 10:55
meetrice
阅读(559)
推荐(0)
摘要:
/* ReadAnalogVoltage 读取模拟电压 Reads an analog input on pin 0, converts it to voltage, and prints the result to the serial monitor. OPEN THE SERIAL MONIT
阅读全文
posted @ 2020-12-03 10:51
meetrice
阅读(795)
推荐(0)
摘要:
/* Smoothing 平滑处理 Reads repeatedly from an analog input, calculating a running average and printing it to the computer. Keeps ten readings in an array
阅读全文
posted @ 2020-12-03 10:48
meetrice
阅读(363)
推荐(0)
摘要:
/* Calibration 校准 Demonstrates one technique for calibrating sensor input. The sensor readings during the first five seconds of the sketch execution d
阅读全文
posted @ 2020-12-03 10:39
meetrice
阅读(641)
推荐(0)
摘要:
/* Analog input, analog output, serial output Reads an analog input pin, maps the result to a range from 0 to 255 and uses the result to set the pulse
阅读全文
posted @ 2020-12-03 10:29
meetrice
阅读(883)
推荐(0)
摘要:
/* LiquidCrystal Library - Hello World Demonstrates the use a 16x2 LCD display. The LiquidCrystal library works with all LCD displays that are compati
阅读全文
posted @ 2020-12-03 10:25
meetrice
阅读(1007)
推荐(0)
摘要:
#include <Adafruit_NeoPixel.h> #define PIN 2 // input pin Neopixel is attached to #define NUMPIXELS 12 // number of neopixels in strip Adafruit_NeoPix
阅读全文
posted @ 2020-12-03 10:20
meetrice
阅读(503)
推荐(0)
摘要:
/* Ping))) Sensor This sketch reads a PING))) ultrasonic rangefinder and returns the distance to the closest object in range. To do this, it sends a p
阅读全文
posted @ 2020-12-03 10:14
meetrice
阅读(909)
推荐(0)
摘要:
/* Pitch follower Plays a pitch that changes based on a changing analog input circuit: * 8-ohm speaker on digital pin 9 * photoresistor on analog 0 to
阅读全文
posted @ 2020-12-03 10:11
meetrice
阅读(685)
推荐(0)