remove old DD code
This commit is contained in:
1 parent
c480518b7c
commit
18867518a8
1 file changed
-12
@@ -6,17 +6,11 @@
|
||||
#include "MCP3XXX.h"
|
||||
#include "PCF8574.h"
|
||||
#include "pio_encoder.h"
|
||||
// #include "dumbdisplay.h"
|
||||
// #include "wifidumbdisplay.h"
|
||||
#include "zserio.h"
|
||||
#include "SerialUART.h"
|
||||
|
||||
const char* ssid = "TEST";
|
||||
const char* password = "pink4bubble";
|
||||
// DumbDisplay dumbdisplay(new DDWiFiServerIO(ssid, password), 8192);
|
||||
// LcdDDLayer *optionsdisplay = NULL;
|
||||
// SevenSegmentRowDDLayer *sevenSeg;
|
||||
// JoystickDDLayer *appjoystick;
|
||||
|
||||
packet_t pA, pB, safe;
|
||||
packet_t *astate, *incoming;
|
||||
@@ -136,11 +130,8 @@ void set_offset() {
|
||||
}
|
||||
current_offset[1] /= n;
|
||||
current_offset[1] -= 512;
|
||||
//Serial.println(current_offset[0]);
|
||||
current_offset[0] /= n;
|
||||
//Serial.println(current_offset[0]);
|
||||
current_offset[0] -= 512;
|
||||
//Serial.println(current_offset[0]);
|
||||
}
|
||||
float get_current(byte sensor) {
|
||||
int read = 0;
|
||||
@@ -253,9 +244,6 @@ void set_hex(byte num) {
|
||||
|
||||
void set_dec(byte num) {
|
||||
byte digit1 = num / 10;
|
||||
//while (digit1 > 9) {
|
||||
// digit1 -= 10;
|
||||
//}
|
||||
byte digit2 = num;
|
||||
while (digit2 > 9) {
|
||||
digit2 -= 10;
|
||||
|
||||
Reference in new issue
Block a user