This file contains 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 "LowPower.h" | |
int enablePin = 11; | |
int in1Pin = 10; | |
int in2Pin = 9; | |
int switchPin = 7; | |
const int analogInPin = A0; | |
const int speed = 128; | |
boolean direction = true; | |
boolean prevdirection = false; |
This file contains 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 <EEPROM.h> | |
#include <LiquidCrystal.h> | |
const int addr = 0; | |
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; | |
LiquidCrystal lcd(rs, en, d4, d5, d6, d7); |