![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fghfgh
Dependencies: mbed CMSIS_DSP_5 TextLCD
main.cpp
- Committer:
- jvicente
- Date:
- 2019-11-21
- Revision:
- 6:1e45b5f30b87
- Parent:
- 3:44b632ea58aa
- Child:
- 7:4dd3ef163f65
File content as of revision 6:1e45b5f30b87:
#include "mbed.h" #include "arm_math.h" #include <Ticker.h> #include <stdio.h> #include <string.h> #include <AnalogIn.h> #include "datos.h" #include "TextLCD.h" float Vrms; // PROGRAMA PRINCIPAL int main() { //1.Vrms arm_rms_f32(datosV,500,&(Vrms)); printf("datos entrada\n"); for (int n=0;n<500;n++){ printf("%f\n",datosV[n]); } printf("RMS: %f\n",Vrms); }