krishan prajapat
/
adf_config_senddata
Repo for adf codes
Revision 1:5586f82bab95, committed 2016-01-01
- Comitter:
- krishanprajapat
- Date:
- Fri Jan 01 08:54:35 2016 +0000
- Parent:
- 0:f2bc77c9f848
- Commit message:
- Not working...to be debugged; For testing with other modules, use previous version
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f2bc77c9f848 -r 5586f82bab95 main.cpp --- a/main.cpp Thu Dec 31 08:18:11 2015 +0000 +++ b/main.cpp Fri Jan 01 08:54:35 2016 +0000 @@ -272,8 +272,10 @@ void send_tm_from_SD_card(){ } -void check(){ +void check(){ +//cout <<"in check"; if(IRQ){ + cout <<"tr"; // if(1){ if(!ADF_off){ // gCOM_MNG_TMTC_THREAD->signal_set(signal); @@ -282,7 +284,7 @@ ADF_off=true; } else{ - // cout <<"tr"; + write_data; transmitdata(); } @@ -333,6 +335,7 @@ spi.write(0xFF);\ spi.write(0xFF);\ gCS_ADF=1;\ + cout <<"\r\ne\r\n";\ ticker.attach_us(&check,32000);\ } void configure_adf(){