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.
Crealab.h
00001 #include "mbed.h" 00002 #include "CreaBot.h" 00003 00004 // --- USB Debug Port ----------- 00005 00006 // #define DEBUG(...) { pc_uart.printf(__VA_ARGS__); bt_uart.printf(__VA_ARGS__);} 00007 #define DEBUG(...) { __disable_irq();bt_uart.printf(__VA_ARGS__); pc_uart.printf(__VA_ARGS__);__enable_irq();} 00008 00009 //#define DEBUG(...) { pc_uart.printf(__VA_ARGS__); } 00010 //#define DEBUG(...) { bt_uart.printf(__VA_ARGS__); } 00011 00012 #define CATCH_BUTTON(button, func) button.fall(&func) 00013 00014 #define CASE(letter, text, commands) case letter: DEBUG("\t%c : %s\n\r", letter,text);if(!flaghelp) {commands;break;}; 00015 00016
Generated on Thu Jul 14 2022 09:13:18 by
1.7.2