SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
Test.cpp
Go to the documentation of this file.
1
12
#include "WProgram.h"
13
14
// @cond
15
16
void
serial_spam
() {
17
static
elapsedMillis em;
18
long
long
ramp = 50000;
19
20
while
(
true
) {
21
if
(ramp < 0)
22
continue
;
23
Serial.write((
char
*)&ramp, 8);
24
for
(
int
i = 0; i < ramp; i++) {
25
static
double
c = 5;
26
long
long
a
= (
long
long)c;
27
c =
a
/ c;
28
}
29
if
(em > 500) {
30
em = 0;
31
ramp -= 1000;
32
}
33
}
34
}
35
36
// @endcond
serial_spam
void serial_spam()
Spam usb serial.
a
Definition
test_a.h:36
libraries
Test
Test.cpp
Generated by
1.9.8