This repository was archived by the owner on Jan 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiFileProject.ino
More file actions
45 lines (33 loc) · 1.32 KB
/
multiFileProject.ino
File metadata and controls
45 lines (33 loc) · 1.32 KB
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
39
40
41
42
43
44
45
/****************************************************************************************************************************
multiFileProject.ino
For STM32 with built-in LAN8742A Ethernet (Nucleo-144, DISCOVERY, etc)
AsyncUDP_STM32 is a Async UDP library for the STM32 using built-in LAN8742A Ethernet
Based on and modified from ESPAsyncUDP Library (https://github.com/me-no-dev/ESPAsyncUDP)
Built by Khoi Hoang https://github.com/khoih-prog/AsyncUDP_STM32
Licensed under MIT license
*****************************************************************************************************************************/
// To demo how to include files in multi-file Projects
#include "multiFileProject.h"
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error
#include "AsyncUDP_STM32.h"
void setup()
{
Serial.begin(115200);
while (!Serial);
delay(500);
Serial.println("\nStart multiFileProject");
Serial.println(ASYNC_UDP_STM32_VERSION);
#if (_ASYNC_UDP_STM32_LOGLEVEL_ > 2)
Serial.print("STM32 Core version v");
Serial.print(STM32_CORE_VERSION_MAJOR);
Serial.print(".");
Serial.print(STM32_CORE_VERSION_MINOR);
Serial.print(".");
Serial.println(STM32_CORE_VERSION_PATCH);
#endif
Serial.print("You're OK now");
}
void loop()
{
// put your main code here, to run repeatedly:
}