blob: 8fc8d00270a9ac303e9567364b82d10c767bfe76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include <stdio.h>
#include "sim.h"
void time_reset() {
return;
printf("SIM: time_reset()\n");
}
unsigned long get_ms() {
printf("SIM: get_ms()\n");
return 0;
}
void red_led(unsigned char on) {
printf("SIM: red_led(%i)\n", on);
return;
}
void green_led(unsigned char on) {
printf("SIM: green_led(%i)\n", on);
return;
}
void clear() {
printf("SIM: clear()\n");
return;
}
void play(const char* melody) {
printf("SIM: play(\"%s\")\n", melody);
return;
}
void serial_set_baud_rate(unsigned int rate) {
printf("SIM: serial_set_baud_rate(%u)\n", rate);
return;
}
|