Skip to content

Commit

Permalink
Merge pull request #12 from takeyamayuki/develop
Browse files Browse the repository at this point in the history
refactor
  • Loading branch information
takeyamayuki authored Apr 23, 2023
2 parents 8cbceee + 862413b commit 0de96aa
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 14 deletions.
4 changes: 2 additions & 2 deletions examples/esp32_basic/esp32_basic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ static RESTuino restuino;
void setup()
{
restuino.host_name = "restuino";
restuino.ssid_def = "";
restuino.ssid_pass = "";
restuino.ssid_def = "YOUR_SSID";
restuino.ssid_pass = "YOUR_PASSWORD";
restuino.serial_baud = 9600;
restuino.setup();
}
Expand Down
11 changes: 4 additions & 7 deletions examples/esp32_platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ default_envs = mhetesp
[env]
platform = espressif32
framework = arduino
lib_deps =
ESPmDNS.h
WebServer.h
WiFi.h
madhephaestus/ESP32Servo@^0.11.0
bblanchon/ArduinoJson@^6.19.4
https://github.com/takeyamayuki/RESTuino.git
; lib_deps =
; madhephaestus/ESP32Servo@^0.11.0
; bblanchon/ArduinoJson@^6.19.4
; https://github.com/takeyamayuki/RESTuino.git
lib_extra_dirs = lib
upload_speed = 921600
monitor_speed = 9600
Expand Down
4 changes: 2 additions & 2 deletions examples/esp32_platformio/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ static RESTuino restuino;
void setup()
{
restuino.host_name = "restuino";
restuino.ssid_def = "Extender-G-CE1C";
restuino.ssid_pass = "jifmckdmk6inr";
restuino.ssid_def = "YOUR_SSID";
restuino.ssid_pass = "YOUR_PASSWORD";
restuino.serial_baud = 9600;
restuino.setup();
}
Expand Down
32 changes: 32 additions & 0 deletions library.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "RESTuino",
"version": "1.0.1",
"description": "A library to handle arduino GPIO via REST API",
"keywords": "REST, RESTful API, Arduino, GPIO, RESTuino",
"repository":
{
"type": "git",
"url": "https://github.com/takeyamayuki/RESTuino.git"
},
"authors":
[
{
"name": "Yuki TAKEYAMA",
"email": "[email protected]",
"url": "https://takeyamayuki.github.io/",
"maintainer": true
},
{
"name": "Ar-Ray-code"
}
],
"license": " Apache-2.0 license",
"homepage": "https://zenn.dev/ninzin/articles/5c859a0bfc1ee6/",
"dependencies": {
"ownername/print": "~1.3.0",
"madhephaestus/ESP32Servo":"~0.11.0",
"bblanchon/ArduinoJson":"~6.19.4"
},
"frameworks": "Arduino",
"platforms": "*"
}
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name=RESTuino
version=1.0.0
author=Yuki Takeyama
version=1.0.1
author=takeyamayuki, Ar-Ray-code
maintainer=takeyamayuki <[email protected]>
sentence=A library to handle arduino GPIO via REST API.
paragraph=Fisrt version of RESTuino.
category=Communication
url=https://github.com/takeyamayuki/RESTuino.git
architectures=esp32
includes=RESTuino.h
depends=WiFi, EEPROM, ESPmDNS, WebServer, ESP32Servo, ArduinoJson
depends=WiFi, ESP32Servo

0 comments on commit 0de96aa

Please sign in to comment.