Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h>
- LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
- byte byteA;
- void setup() {
- Serial.begin(19200);
- lcd.begin(16,2);
- lcd.setCursor(0,0);
- lcd.print("lv1a");
- }
- void loop(){
- if (Serial.available > 0) {
- lcd.setCursor(0,1);
- byteA = Serial.read();
- lcd.print(byteA, HEX);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement