Skip to content

Commit ad8beee

Browse files
committed
sync
1 parent 93ee3d7 commit ad8beee

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed
10.5 MB
Binary file not shown.

firmware/datasheets/hd6301v1.pdf

1.5 MB
Binary file not shown.

firmware/datasheets/mc6850.pdf

1.26 MB
Binary file not shown.

firmware/src/main.c

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
#include "driver/uart.h"
55
#include "driver/gpio.h"
66
#include "sdkconfig.h"
7+
#include "esp_system.h"
78
#include "esp_log.h"
89

9-
void app_main() {}
10+
void hello_task(void *pvParameter)
11+
{
12+
for(;;) {
13+
vTaskDelay(1000 / portTICK_RATE_MS);
14+
}
15+
//printf("Hello world!\n");
16+
//for (int i = 10; i >= 0; i--) {
17+
//printf("Restarting in %d seconds...\n", i);
18+
//}
19+
//printf("Restarting now.\n");
20+
//fflush(stdout);
21+
//esp_restart();
22+
}
23+
24+
void app_main() {
25+
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
26+
}

0 commit comments

Comments
 (0)