aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/test.c
blob: e25b07189a0cc523cae6aac09be8a57a46166c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stm32f0xx_hal.h>
#include <FreeRTOS.h>
#include <task.h>

#include "esp8266.h"

void ws_test_write_task() {
	uint8_t data[] = "AT\r\n";
	while (1) {
		ws_esp8266_send(data, sizeof(data));

		vTaskDelay(portTICK_PERIOD_MS * 100 * 1);
	}
}