mirror of
https://github.com/kakopappa/how-to-make-a-precompiled-arduino-library-for-esp8266-esp32.git
synced 2025-06-07 21:50:13 +03:00
16 lines
229 B
C++
16 lines
229 B
C++
#include <hello.h>
|
|
|
|
#define BAUD_RATE 9600
|
|
|
|
void setup() {
|
|
Serial.begin(BAUD_RATE);
|
|
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
int result = add(1, 1);
|
|
Serial.println(result);
|
|
delay(1000);
|
|
}
|