Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot:examples:setup:usb [2021/12/02 18:35] raivo.sellen:iot:examples:setup:usb [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 13: Line 13:
   -  {{:en:iot:examples:ide-atom-pkg-installer.png?400|}}   -  {{:en:iot:examples:ide-atom-pkg-installer.png?400|}}
   - Install PlatformIO IDE   - Install PlatformIO IDE
-  - Intall clang+  - Install clang
   * Linux: Using package managers: apt-get install clang or yum install clang.   * Linux: Using package managers: apt-get install clang or yum install clang.
   * Mac OS X: Install the latest Xcode along with the latest Command Line Tools (they have installed automatically when you run clang in Terminal for the first time, or manually by running <code c> xcode-select --install </code>   * Mac OS X: Install the latest Xcode along with the latest Command Line Tools (they have installed automatically when you run clang in Terminal for the first time, or manually by running <code c> xcode-select --install </code>
Line 35: Line 35:
   * Choose a name for your project. In board selection choose "WeMos D1 R2 & mini (WEMOS)" and the framework should be "Arduino".   * Choose a name for your project. In board selection choose "WeMos D1 R2 & mini (WEMOS)" and the framework should be "Arduino".
 {{:en:iot:examples:setup:newproject.png?300|}} {{:en:iot:examples:setup:newproject.png?300|}}
-  * On the left menu add project you just created to the Project tree +  * On the left menu add the project you just created to the Project tree 
-  * Open platformio.ini file and paste <code c>lib_deps = ITTIoT</code> to the end of the framework line. "lib_deps" informs the PlatformIO about which libraries to download for your project. ITTIoT library is a must-have with all IoT Homelab kit programs. The exact libraries needed for each module are described at their example page. +  * Open platformio.ini file and paste <code c>lib_deps = ITTIoT</code> to the end of the framework line. "lib_deps" informs the PlatformIO about which libraries to download for your project. ITTIoT library is a must-have with all IoT Homelab kit programs. The exact libraries needed for each module are described on their example page. Make sure that the board is correct <code c>board = d1_mini</code> 
-   {{:en:iot:examples:setup:2018-01-23.png?300|}}+<note important>Image needs to be replaced</note> 
 +{{:en:iot:examples:setup:2018-01-23.png?300|}}
   * Open main.cpp file in src folder. Here is where you will write your code. For now just replace everything with the [[en:iot:examples:relay|relay example code]].   * Open main.cpp file in src folder. Here is where you will write your code. For now just replace everything with the [[en:iot:examples:relay|relay example code]].
 {{:en:iot:examples:setup:maincpp.png?300|}} {{:en:iot:examples:setup:maincpp.png?300|}}
en/iot/examples/setup/usb.1638470122.txt.gz · Last modified: 2021/12/02 10:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0