write voltage and current over serial to Pico

pull/294/head
Alan Johnston 2 years ago committed by GitHub
parent cb00d7bfab
commit cba0718e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -611,6 +611,8 @@ int main(int argc, char * argv[]) {
fgets(cmdbuffer, 1000, file1); fgets(cmdbuffer, 1000, file1);
fprintf(stderr, "Python read Result: %s\n", cmdbuffer); fprintf(stderr, "Python read Result: %s\n", cmdbuffer);
serialPuts(uart_fd, cmdbuffer); // write INA data to Pico over serial
const char space[2] = " "; const char space[2] = " ";
token = strtok(cmdbuffer, space); token = strtok(cmdbuffer, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.