Changes between Version 2 and Version 3 of 16x2lcd


Ignore:
Timestamp:
Sep 10, 2015 6:05:16 PM (9 years ago)
Author:
soumura
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 16x2lcd

    v2 v3  
    1010#include <Wire.h>
    1111 
     12#define PWR 17
     13#define GND 16
    1214#define I2Cadr 0x3A // 固定
    1315byte  VLCD = 27;  // コントラスト(0~63)
    1416
    1517void 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);
    2022
    2123  Wire.begin();