Changes between Version 2 and Version 3 of 16x2lcd
- Timestamp:
- Sep 10, 2015 6:05:16 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
16x2lcd
v2 v3 10 10 #include <Wire.h> 11 11 12 #define PWR 17 13 #define GND 16 12 14 #define I2Cadr 0x3A // 固定 13 15 byte VLCD = 27; // コントラスト(0~63) 14 16 15 17 void setup() { 16 pinMode( 16, OUTPUT);17 digitalWrite( 16, LOW);18 pinMode( 17, OUTPUT);19 digitalWrite( 17, HIGH);18 pinMode(GND, OUTPUT); 19 digitalWrite(GND, LOW); 20 pinMode(PWR, OUTPUT); 21 digitalWrite(PWR, HIGH); 20 22 21 23 Wire.begin();