Skip to content

Instantly share code, notes, and snippets.

@ibanezmatt13
Last active August 29, 2015 13:58
Show Gist options
  • Save ibanezmatt13/10009336 to your computer and use it in GitHub Desktop.
Save ibanezmatt13/10009336 to your computer and use it in GitHub Desktop.
// timer ISR to interrupt main program at intervals specific to 50 baud RTTY
ISR(TIMER1_COMPA_vect)
{
if (strlen(datastring) > 0){ //if there are characters still to be sent...
next_bit = datastring[0]; //get first character in datastring char array
rtty_txbyte(next_bit); //transmit character over radio
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment