You are on page 1of 1

9.

APPENDIX
EV Program:
int serInLen = 25;

char serInString[25],str[1000];

int pId =0;

int relay=9;

float SOC=100.00, AB;

int i=0,f=0,count=0,sec=0;

float sensorValue=0;

float s,s1,temp;

char buffer[10],c;

void setup()

Serial.begin(9600);

Serial.println("#S|SPXL|[]#"); // start EXCEL

readSerialString(serInString, 5000); // wait 5 seconds (max) for answer from Gobetwino


(=proess ID)

pId= atoi(serInString); // convert result to integer

// send some data to Excel

gobetw();

void loop()

void gobetw()

while(sec<25)

48

You might also like