Skip to content

Commit

Permalink
edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
visualapproach committed Feb 5, 2023
1 parent b474021 commit c566698
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
5 changes: 5 additions & 0 deletions Code/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
10 changes: 10 additions & 0 deletions Code/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
18 changes: 1 addition & 17 deletions Code/readme.md
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
Keeping track of versions has been increasingly difficult over the time.
Arduino is really nice and I will still use it, but it has its limits.
To mitigate this problem I decided to move to another platform:
Visual Studio Code (free) with PlatformIO extension (free)
This way I can sync my local files with github, and hopefully use version numbering more correctly.
I'll keep present Arduino files as a separate branch "Backup" until further.
My plan is that future updates (if any) will be made to "development" branch, and pulled to "master" when I think it's time.

After downloading and unpacking the files, you can open VSCode, click on PlatformIO icon and open a project folder. Either "4-wire-version" or "6-wire-version". Edit the file "platformio.ini" to your liking. Upload program then upload filesystem.

If you still want to use Arduino, just rename "main.cpp" to "src.ino" (or "src-for-mqtt.ino" etc. It must have the same name as the parent directory) then move "data" folder to the same folder:
--my source folder
|-my source folder.ino
|--data
|-index.html
|-...
Install libraries listed in "platformio.ini"
v4.0.0-alpha

0 comments on commit c566698

Please sign in to comment.