-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0e9a13
commit e7890c9
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 1 "/tmp/tmp4oia75od" | ||
#include <Arduino.h> | ||
# 1 "/home/tsiselsk/Projects/private/ArduinoBleChess/examples/basic/basic.ino" | ||
#include <Arduino.h> | ||
#include <ArduinoBleChess.h> | ||
#include "../MyPeripheral.h" | ||
|
||
MyPeripheral peripheral{}; | ||
void setup(); | ||
void loop(); | ||
#line 7 "/home/tsiselsk/Projects/private/ArduinoBleChess/examples/basic/basic.ino" | ||
void setup() { | ||
Serial.begin(115200); | ||
while (!Serial); | ||
|
||
if (!ArduinoBleChess.begin("Arduino Ble Chess", peripheral)) | ||
Serial.println("ble initialization error"); | ||
} | ||
|
||
void loop() { | ||
#ifndef USE_NIM_BLE_ARDUINO_LIB | ||
BLE.poll(); | ||
#endif | ||
peripheral.checkPeripheralMove(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=vovagorodok_ArduinoBleChess | ||
version=0.1.0 | ||
version=0.1.1 | ||
author=vovagorodok | ||
maintainer=vovagorodok <[email protected]> | ||
sentence=Bluetooth low energy (BLE) library for communication via CECP chess protocol. | ||
|