Usage with libraries

List installed libraries

From python:

>>> from confduino.liblist import libraries
>>> libraries()
['AdvButton', 'ArduinoUnit', 'AtTouch', 'Bounce', 'Button', 'ByteBuffer', 'CapSense', 'Charlieplex', 'DB', 'DallasTemperature', 'DataFlash', 'DigitalToggle', 'EDB', 'EEPROM', 'EasyTransferI2C', 'Enerlib', 'Esplora', 'Ethernet', 'EventFuse', 'FancyLED', 'Firmata', 'Flash', 'FreqCounter', 'FrequencyTimer2', 'LED', 'LPM11162', 'LedControl', 'LedDisplay', 'LiquidCrystal', 'LowPower', 'MatrixMath', 'Metro', 'MorseEnDecoder', 'MsTimer2', 'Narcoleptic', 'NewSoftSerial', 'NoiseFilter', 'OneWire', 'PID_v1', 'PS2Keyboard', 'PS2X_lib', 'PString', 'PWMServo', 'PinChangeInt', 'Ping', 'Qtouch1Wire', 'QueueArray', 'QueueList', 'SD', 'SPI', 'SSerial2Mobile', 'SerialIP', 'SerialManager', 'Servo', 'SevSeg', 'SoftEasyTransfer', 'SoftUsb', 'SoftwareSerial', 'StackArray', 'StackList', 'Stepper', 'Streaming', 'TVout', 'TimedAction', 'TimerOne', 'TinyGPS', 'Tone', 'Tween', 'Twitter', 'WebServer', 'WiFi', 'WiShield', 'Wire', 'arduinode', 'morse', 'multiCameraIrControl', 'rtttl', 'spline']

From console:

$ python -m confduino.liblist
AdvButton
ArduinoUnit
AtTouch
Bounce
Button
ByteBuffer
CapSense
Charlieplex
DB
DallasTemperature
DataFlash
DigitalToggle
EDB
EEPROM
EasyTransferI2C
Enerlib
Esplora
Ethernet
EventFuse
FancyLED
Firmata
Flash
FreqCounter
FrequencyTimer2
LED
LPM11162
LedControl
LedDisplay
LiquidCrystal
LowPower
MatrixMath
Metro
MorseEnDecoder
MsTimer2
Narcoleptic
NewSoftSerial
NoiseFilter
OneWire
PID_v1
PS2Keyboard
PS2X_lib
PString
PWMServo
PinChangeInt
Ping
Qtouch1Wire
QueueArray
QueueList
SD
SPI
SSerial2Mobile
SerialIP
SerialManager
Servo
SevSeg
SoftEasyTransfer
SoftUsb
SoftwareSerial
StackArray
StackList
Stepper
Streaming
TVout
TimedAction
TimerOne
TinyGPS
Tone
Tween
Twitter
WebServer
WiFi
WiShield
Wire
arduinode
morse
multiCameraIrControl
rtttl
spline

Help:

$ python -m confduino.liblist --help
usage: liblist.py [-h] [--debug]

print installed arduino libraries

optional arguments:
  -h, --help  show this help message and exit
  --debug     set logging level to DEBUG

Install new library

Existing library will not be changed.

From python:

>>> from confduino.libinstall import install_lib
>>> install_lib('http://arduino.cc/playground/uploads/Main/PS2Keyboard002.zip')

From console:

python -m confduino.libinstall http://arduino.cc/playground/uploads/Main/PS2Keyboard002.zip

Upgrade existing library

Same as install with replace_existing option.

From python:

>>> from confduino.libinstall import install_lib
>>> install_lib('http://arduino.cc/playground/uploads/Main/PS2Keyboard002.zip', replace_existing=1)

From console:

python -m confduino.libinstall http://arduino.cc/playground/uploads/Main/PS2Keyboard002.zip --replace-existing

Help:

$ python -m confduino.libinstall --help
usage: libinstall.py [-h] [-r] [-f] [--debug] url

install library from web or local files system

positional arguments:
  url                   web address or file path

optional arguments:
  -h, --help            show this help message and exit
  -r, --replace-existing
                        bool
  -f, --fix-wprogram
  --debug               set logging level to DEBUG

Remove existing library

From python:

>>> from confduino.libremove import remove_lib
>>> remove_lib('PS2Keyboard')

From console:

python -m confduino.libremove PS2Keyboard

Help:

$ python -m confduino.libremove --help
usage: libremove.py [-h] [--debug] lib_name

remove library

positional arguments:
  lib_name    library name (e.g. 'PS2Keyboard')

optional arguments:
  -h, --help  show this help message and exit
  --debug     set logging level to DEBUG

Table Of Contents

Previous topic

menu item “all”

Next topic

Usage with boards

This Page