Dheeraj M Pai
/
XXX_INTEGRATE_WITH_KIRUBHA_CODE
ADF7023
Diff: main.cpp
- Revision:
- 1:0a1e3fd2d4e3
- Parent:
- 0:f8a9fca7e008
- Child:
- 2:24459bb3d5cf
--- a/main.cpp Fri Jun 26 12:58:35 2015 +0000 +++ b/main.cpp Fri Jun 26 14:41:11 2015 +0000 @@ -310,8 +310,8 @@ state = 1; } - - while(true){ + int l=0; + while(l<=1000){ cout << "in while" << ENDL; @@ -324,9 +324,13 @@ else{ state = 1; } - }} - - - - - \ No newline at end of file + l++; + } + + + CS=0; + adf.write(0xB1); + CS=1; + wait(1); + cout<<"Transmission should have stopped by now "<<ENDL; +} \ No newline at end of file