Skip to content

Extend Arduino devcomuino to support digital IO pins and Arduino Nano

Juerg Beringer requested to merge juerg-arduino into devel

This merge request extends the Arduino devcomuino code to

  • add support for Arduino Nano
  • support digitial IO pins similar to what Matthias Saimpert proposed originally
  • shortens help and error messages to preserve more dynamic memory

The new list of commands supported by devcomuino is now:

HELP - This help
ADC ch - Read ADC channel ch
I2C WRITE addr byte-string - Write byte-string to I2C addr, MSB first
I2C READ addr nbytes - Read nbytes from I2C addr
EEPROM WRITE addr value - Write to addr in EEPROM
EEPROM READ addr - Read addr from EEPROM
DGT OUT ch - Set digital pin ch as output
DGT IN ch - Set digital pin ch as input
DGT PULLUP ch - Set digital pin ch as input w/pullup
DGT READ ch - Read channel ch
DGT HIGH ch - Set channel ch HIGH
DGT LOW ch - Set channel ch LOW

Merge request reports