Update cubesatsim.ino

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent eb8db0d44a
commit 50db535c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -755,6 +755,7 @@ void get_tlm_fox() {
// printf ("%d i: %d new frame %d data10[%d] = %x bit %d = %d \n", // printf ("%d i: %d new frame %d data10[%d] = %x bit %d = %d \n",
// ctr/SAMPLES, i, frames, symbol, val, bit, (data > 0) ); // ctr/SAMPLES, i, frames, symbol, val, bit, (data > 0) );
Serial.print(val, HEX); // Debugging print!!! Serial.print(val, HEX); // Debugging print!!!
Serial.print(" ");
if (mode == FSK) { if (mode == FSK) {
phase = ((data != 0) * 2) - 1; phase = ((data != 0) * 2) - 1;
// printf("Sending a %d\n", phase); // printf("Sending a %d\n", phase);
@ -768,10 +769,13 @@ void get_tlm_fox() {
flip_ctr = ctr; flip_ctr = ctr;
} }
} }
Serial.println("AA");
} }
Serial.println("BB");
} }
} }
Serial.println(" "); Serial.println(" ");
Serial.println("Returning");
} }
void write_wave(int i, short int *buffer) void write_wave(int i, short int *buffer)

Loading…
Cancel
Save

Powered by TurnKey Linux.