Rangkaian ADC pada Arduino Nano menggunakan Proteus:
Koding ADC pada Arduino Nano menggunakan Proteus:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x20,16,2); | |
int dataAdc; | |
void setup() | |
{ | |
lcd.init(); | |
lcd.setCursor(0,0); | |
lcd.print("RobotikID"); | |
} | |
void loop() | |
{ | |
dataAdc = analogRead(A0); | |
lcd.clear(); | |
lcd.setCursor(0,0); | |
lcd.print("Nilai Adc= "); | |
lcd.setCursor(12,0); | |
lcd.print(dataAdc); | |
delay(200); | |
} |
Video Tutorial ADC pada Arduino Nano menggunakan Proteus:
Kerjasama:
https://linktr.ee/robotikid
Youtube: https://www.youtube.com/robotikid
Instagram: https://www.instagram.com/robotikid/
Facebook: https://www.facebook.com/RobotikID/
Website: https://www.robotikindonesia.com/
Tokopedia: http://tokopedia.com/instrumentrobot
0 Comments