send
Dependencies: mbed
main.cpp
00001 #include "mbed.h" 00002 #include "stdio.h" 00003 00004 int main() 00005 { 00006 int cpt=1; 00007 char tmp[30]="AT$SS=00 12 FF 42 \r\n";//AT$SS=00 12 FF 42 \r\n 00008 00009 Serial s(PA_0,PA_1); 00010 s.baud(9600); 00011 s.format(8,SerialBase::None,1); 00012 00013 00014 while(1) 00015 { 00016 s.printf(tmp); 00017 cpt++; 00018 wait (60); 00019 } 00020 }
Generated on Sat Jul 30 2022 10:19:13 by 1.7.2