![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
v1
main.cpp
- Committer:
- snapo
- Date:
- 2021-11-29
- Revision:
- 0:9da26936fdc0
File content as of revision 0:9da26936fdc0:
#include "mbed.h" //#include "HCSR04.h" //#include "nFilter.h" //#include <cstdlib> //HCSR04 sensor(D2,D3); int main() { printf("Hello World!"); /* float base[9] ; for (int i = 0 ; i < 9; i++){ int val = rand() % 100; base[i] = val; } nFilter test(base); nFilter *ptr = &test; ptr -> sortAndFilter(); ptr -> getAndCalcAvg(); ptr -> mid(); */ while(true); }