diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 4bf59c2a..310e858d 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -1344,7 +1344,8 @@ void get_tlm_fox() { //void write_wave(int i, short int *buffer) void write_wave(int i, byte *buffer) { - buffer[ctr++] = (byte)(phase == 1); + buffer[ctr++] = (byte)(phase == 1); + Serial.printf("buffer is %d \n", buffer[ctr - 1]); if (ctr > bufLen) { ctr = ctr - bufLen; if (debug_mode) {