Browse Source

Remove I2C display for now until I start to make use of it.

extract-visca-communication-to-class
Ed Walker 6 years ago
parent
commit
275ae38210
2 changed files with 13 additions and 5 deletions
  1. +1
    -1
      visca-controller/visca-controller.h
  2. +12
    -4
      visca-controller/visca-controller.ino

+ 1
- 1
visca-controller/visca-controller.h View File

@ -3,7 +3,7 @@
#include <Arduino.h>
#include <EEPROM.h>
#include <LiquidCrystal_I2C.h>
//#include <LiquidCrystal_I2C.h>
#include <SoftwareSerial.h>
// Pin assignments from arduno shield.


+ 12
- 4
visca-controller/visca-controller.ino View File

@ -1,6 +1,6 @@
#include "visca-controller.h"
LiquidCrystal_I2C lcd(0x27,20,4);
//LiquidCrystal_I2C lcd(0x27,20,4);
SoftwareSerial visca(VISCARX, VISCATX);
void setup() {
@ -63,6 +63,16 @@ void readSerial() {
case '1':
initCameras();
break;
case '8':
sendViscaPacket(callLedOn, sizeof(callLedOn));
break;
case '9':
sendViscaPacket(callLedBlink, sizeof(callLedBlink));
break;
case '0':
sendViscaPacket(callLedOff, sizeof(callLedOff));
break;
case 'w':
sendViscaPacket(panUp, sizeof(panUp));
break;
@ -78,9 +88,7 @@ void readSerial() {
case 'q':
sendViscaPacket(panStop, sizeof(panStop));
break;
case 'z':
sendViscaPacket(callLedBlink, sizeof(callLedBlink));
break;
case 'r':
sendViscaPacket(zoomTele, sizeof(zoomTele));
break;


Loading…
Cancel
Save