11월, 2017의 게시물 표시

term project

Term - project 데모 영상     사용될 오픈소스 #include <LCD5110_Graph.h>   LCD5110 myGLCD(A0,A1,A2,A3,A4);   extern uint8_t SmallFont[];   const int ServoA = 11; const int ServoB = 10; const int ServoC = 9; const int ServoD = 6;   const int clockwise = 1700; const int counterclockwise = 1300;   const int ButtonA = 8; const int ButtonB = 7; const int ButtonC = 5; const int ButtonD = 4;   const int LEDready = 13; const int coinInsert = 12;   long previousMillis = 0; long intervalIdle = 500; int LEDreadyState = LOW;   int y1= 0; int y2= 10; //position shifters for LCD txt   void setup() {            myGLCD.InitLCD();        myGLCD.setFont(SmallFont);        myGLCD.setContrast(70);           pinMode(ButtonA, INPUT_PULLUP);       p...