Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float arr[] = {0.0, 46.0, 91.2, 134.7, 179.2};
- int N = sizeof(arr) / sizeof(float);
- //========================
- void setup()
- {
- Serial.begin(9600);
- }
- //======================
- void loop()
- {
- SomaCum(arr[3]);
- }
- //=======================
- void SomaCum(int V)
- {
- float soma = V;
- Serial.println(soma);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement