1st attempt to send 600Hz sine wave

This commit is contained in:
phl0 2019-01-23 16:23:45 +01:00
parent 580ba0b536
commit 461182bf60
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
2 changed files with 4 additions and 2 deletions

View file

@ -45,8 +45,8 @@ void CCalPOCSAG::process()
switch (m_state) {
case POCSAGCAL_TX:
//pocsagTX.writeData(POCSAG_CAL[m_audioSeq], POCSAG_FRAME_LENGTH_BYTES + 1U);
m_audioSeq = (m_audioSeq + 1U) % 4U;
pocsagTX.writeData((uint8_t) &sine600Hz[m_audioSeq], 40U);
m_audioSeq++;
if(!m_transmit)
m_state = POCSAGCAL_IDLE;
break;