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.
Dependencies: mbed-os nRF24L01P
Diff: main.cpp
- Revision:
- 13:50de0cf096d1
- Parent:
- 12:1378fba9c916
- Child:
- 14:1b41c5adf46e
--- a/main.cpp Thu Jun 02 17:00:35 2022 +0000 +++ b/main.cpp Thu Jun 02 17:12:10 2022 +0000 @@ -16,7 +16,6 @@ #include "float.h" #include "MX12.h" #include "stdio.h" -#include "DRIBBLE.h" BufferedSerial pc_serie(USBTX,USBRX,115200); @@ -98,14 +97,14 @@ } void Dribble(){ while(1){ - dd=(dribble!=0); + dd=(idtir!=0); }} void Tir(){ while(1){ - if (idtir!=0){ + if (dribble!=0){ tir = 1 ; - ThisThread::sleep_for(idtir); + ThisThread::sleep_for(dribble); tir = 0 ; } tir=0;}