return library directory
$ARDUINO/libraries/$LIB
return library example directory
$ARDUINO/libraries/$LIB/examples/$EXAMPLE
return library examples
EXAMPLE1,EXAMPLE2,..
return library examples directory
$ARDUINO/libraries/$LIB/examples
return installed library names
return library root path
$ARDUINO/libraries
print installed arduino libraries
search for lib dir under root
rename examples dir to examples
install library from web or local files system
Parameters: |
|
---|---|
Return type: | None |
find examples not under lib dir, and move into examples
remove library
Parameters: | lib_name – library name (e.g. ‘PS2Keyboard’) |
---|---|
Return type: | None |
return installed board names
read boards from boards.txt
Parameters: | core_package – ‘all,’arduino’,.. |
---|
path of boards.txt
print boards from boards.txt
install board in boards.txt
Parameters: |
|
---|---|
Return type: | None |
remove board
Parameters: | board_id – board id (e.g. ‘diecimila’) |
---|---|
Return type: | None |
print programmers from programmers.txt
return installed board names
read programmers from programmers.txt
path of programmers.txt
install programmer in programmers.txt
Parameters: |
|
---|---|
Return type: | None |
remove programmer
Parameters: | programmer_id – programmer id (e.g. ‘avrisp’) |
---|---|
Return type: | None |
[‘.pde’,’.ino’]
return version as int
0022 -> 22 0022ubuntu0.1 -> 22 0023 -> 23 1.0 -> 100 1.0.3 -> 103
print arduino version
example: 0022
.pde or .ino
return version as string
example: 0022
return version.txt path
$ARDUINO/lib/version.txt