no python sensor read

pull/116/head
alanbjohnston 5 years ago committed by GitHub
parent 162ecb1b33
commit 4ec37242cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1050,7 +1050,7 @@ void get_tlm_fox() {
// delay for sample period
digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING
printf("Tx LED On\n");
// printf("Tx LED On\n");
#endif
/*
while ((millis() - sampleTime) < (unsigned int)samplePeriod)
@ -1058,7 +1058,7 @@ void get_tlm_fox() {
*/
digitalWrite(txLed, txLedOff);
#ifdef DEBUG_LOGGING
printf("Tx LED Off\n");
// printf("Tx LED Off\n");
#endif
printf("Sample period: %d\n", millis() - (unsigned int)sampleTime);
@ -1151,12 +1151,12 @@ else {
int count1;
char * token;
char cmdbuffer[1000];
/*
FILE * file = popen(pythonStr, "r");
fgets(cmdbuffer, 1000, file);
// printf("result: %s\n", cmdbuffer);
pclose(file);
*/
const char space[2] = " ";
token = strtok(cmdbuffer, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.