Examples of 1.x move to examples/legacy, one sketch folder each
basicLight, lightWithBrightness, lightWithColorTemp, tempSensor and blindControl become examples/legacy/<name>/<name>.ino, which the Arduino IDE and PlatformIO both open. Their content is unchanged: they keep proving that a 1.x sketch compiles against 2.0, and their discovery tests (test/test_discovery) are untouched. Built for d1_mini from the sketch folders, 0 warnings each; basicLight takes 30,520 bytes of static RAM and 333,989 of flash, the same as before the move. library.json and the readme name the new place. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
6e15226ce0
commit
7369883479
7 changed files with 4 additions and 3 deletions
|
|
@ -30,7 +30,8 @@
|
|||
],
|
||||
"headers": "Alex2ESP.h",
|
||||
"examples": [
|
||||
"examples/*.cpp"
|
||||
"examples/*/*.ino",
|
||||
"examples/legacy/*/*.ino"
|
||||
],
|
||||
"dependencies": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue