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.
Diff: main.cpp
- Revision:
- 1:fa4a5417c176
- Parent:
- 0:776a559bda2f
- Child:
- 2:f50bb191b326
diff -r 776a559bda2f -r fa4a5417c176 main.cpp
--- a/main.cpp Mon Dec 17 23:04:09 2018 +0000
+++ b/main.cpp Mon Dec 17 23:06:03 2018 +0000
@@ -37,7 +37,7 @@
void captura()
{
-
+ //leer las senales analogicas y meterlas en el buffer adecuado
if(bufferActivo) {
@@ -46,7 +46,7 @@
}
if(contador==muestras) {
-
+ //Si se ha completado de llenar un buffer indicar el flag
}
}
@@ -58,7 +58,7 @@
timerVisualizacion.attach(&visualizacion,1.0);
while(1) {
if(flag) {
-
+ //Pocesar buffer
}
}
}