Skip to content

Commit

Permalink
Patch to remove links for arduino lib manager
Browse files Browse the repository at this point in the history
  • Loading branch information
joba-1 committed Feb 22, 2018
1 parent 4ae0df1 commit 1707d90
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
1 change: 0 additions & 1 deletion examples/Autogain/platformio.ini

This file was deleted.

1 change: 0 additions & 1 deletion examples/Simple/platformio.ini

This file was deleted.

1 change: 0 additions & 1 deletion examples/Testing/platformio.ini

This file was deleted.

1 change: 0 additions & 1 deletion examples/Utility/platformio.ini

This file was deleted.

12 changes: 8 additions & 4 deletions examples/platformio.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
; PlatformIO Project Configuration File
;
; Example config for flashing nodemcuv2 boards via linux serial port
; Adapt (e.g. platform, board, port) to your environment as needed
; Then cd to the example directory (e.g. Autogain/) and do "pio run"
; to build it or directly upload with "pio run --target upload"
;
; Adapt (e.g. platform, board, port) to your environment as needed.
; Then call platformio.sh to copy the file to all examples.
; Now cd to the example directory (e.g. Autogain/) and do "pio run"
; to build it or directly upload with "pio run --target upload".
; Watch the serial output of your sketch with "pio device monitor".
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
Expand All @@ -24,7 +27,8 @@ framework = arduino

monitor_baud = 115200

upload_port = /dev/ttyUSB*
;usually upload port is autodetected
;upload_port = /dev/ttyUSB[1-9]
upload_speed = 230400
upload_resetmethod = nodemcu

4 changes: 2 additions & 2 deletions examples/platformio.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
#
# Create platformio.ini links for all examples, if missing.
# Create platformio.ini templates for all examples, if missing.
# Start this script from within the examples directory.

for d in *; do
if [ -d "$d" -a -f "$d/$d.ino" -a ! -e "$d/platformio.ini" ]
then
ln -sv ../platformio.ini "$d/"
cp -av platformio.ini "$d/"
fi
done

2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Joba_Tsl2561",
"version": "2.0.2",
"version": "2.0.3",
"keywords": "twowire, i2c, bus, sensor, luminosity, illuminance, lux",
"description": "Arduino Library for ams (taos) luminance chip Tsl2561 with autogain",
"repository":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Joba Tsl2561 Library
version=2.0.2
version=2.0.3
author=joba-1
maintainer=joba-1 <joban123.psn@gmail.com>
sentence=IoT library for using the Tsl2561 luminosity sensor
Expand Down

0 comments on commit 1707d90

Please sign in to comment.