....
Dependencies: Library_Cntrl Library_Misc_cuboid
Fork of cuboid_balance_ros by
Diff: main.cpp
- Revision:
- 1:b9dc09f13a41
- Parent:
- 0:acf871f26563
--- a/main.cpp Fri Mar 08 13:34:59 2019 +0000 +++ b/main.cpp Fri Nov 22 16:44:48 2019 +0000 @@ -38,7 +38,7 @@ ---------------------------- CN7 CN10 */ -//Serial pc(SERIAL_TX, SERIAL_RX); // serial connection via USB - programmer +Serial pc(SERIAL_TX, SERIAL_RX,115200); // serial connection via USB - programmer float out_value = 1.6f; // set voltage on 1.6 V (0 A current) float w_soll = 10.0f; // desired velocity float Ts = 0.002f; // sample time of main loops @@ -59,6 +59,7 @@ //****************************************************************************** int main() { + pc.printf("Start loop...\r\n"); update_loop UL(Ts,USER_BUTTON); //Assume Fs = ...; while(1); } // END OF main