Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "mbed.h" 00002 00003 #include "BetaTransporter.h" 00004 #include "GammaTransporter.h" 00005 #include "DataPool.h" 00006 00007 Serial pc(USBTX,USBRX); 00008 00009 int main() { 00010 //DataPool *beta; 00011 DataPool *gamma; 00012 00013 //beta = new BetaTransporter; 00014 gamma = new GammaTransporter; 00015 00016 while(1) { 00017 //beta->set(); 00018 gamma->set(); 00019 00020 //pc.printf("%d\r\n",beta->read(1)); 00021 pc.printf("%d,%d,%d\r\n",gamma->read(0),gamma->read(1),gamma->read(2)); 00022 00023 wait(0.05); 00024 } 00025 }
Generated on Sun Jul 17 2022 13:49:35 by
