Skip to content

Using analog pins as digital output  #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,
thanks for pyduino. I'm using it successfully on Linux with my Arduino 
(Duemillanuove) and extended it to support stepper motors (by adding some extra 
sysex commands to the firmata protocol).

My Problem:  One of my motors uses A0,A1 alias D14,D15 as digital output.
But you define the Arduino board to only know about 14 digital pins.
Since any analog pin can be also used as an analog output (or input) pin, one 
should define the Arduino board to have 14 + 6 = 20 possible digital pins.
However, doing the book keeping right, that A0 cannot be used both as analog 
input and as digital i or o  at the same time might be somewhat involved....

Thanks again,
Sebastian Haase

Original issue reported on code.google.com by seb.ha...@gmail.com on 6 Jan 2012 at 6:49

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions