Skip to content

output declaration not working? #3

Open
@johndavid400

Description

@johndavid400

first off, nice job putting this together... great idea.

Everything seems to work, except the LED's I plug into the output pins are extremely dim when turned On.... from past experience, I traced this back to the fact that each pin is not properly being declared as an OUTPUT in the setup. That is, each pin registers a signal as it should, but without enough current to do anything.

I am using the sample code from the example posted here... and simply changing the output from pin 13 to pin 12, yields the results mentioned above.

I verified this by manually declaring the output pins I intended to use in the Arduino.pde file setup() function, and then resumed the ruby code as normal and everything worked as it should (LED's very bright).

Can anyone shed some light into how the pins are declared? I would like to help fix this issue.

Thanks,
JD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions