hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
If you look at the arduino-help.pd or arduino-test.pd, the message
should be [digitalIns 1 1(. The first number is the port# and the
second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins
8-13, PORT2==analog pins).
If you are using Arduino 0017, you might want to upgrade the included
Firmata library with the latest version (check the README for how)
http://at.or.at/hans/pd/objects.html#pduino
.hc
On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino.
i test it with an arduino program that reads pin 2 and writes it to
pin 13 and this works fine, i get a LED light on and off with my
infrared sensor.however when i try this very same setup in PD i dont get it to work.
i am starting up arduino object to the right COM port, i can write
manually to pin 13 and the LED flashes, but i dont get anything from
pin 2. I have not used digital sensors for ages with PD so i dont
remember the right way to set them up.I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am
doing wrongplease help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Hans-Christoph Steiner wrote:
If you look at the arduino-help.pd or arduino-test.pd, the message should be [digitalIns 1 1(. The first number is the port# and the second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins 8-13, PORT2==analog pins).
wouldn't it be nice to have the info in the brackets somewhere in the arduino-help?
If you are using Arduino 0017, you might want to upgrade the included Firmata library with the latest version (check the README for how) http://at.or.at/hans/pd/objects.html#pduino
.hc
On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I'm not sure what you mean, but Patches welcome! :-D
.hc
On Nov 19, 2009, at 1:44 PM, olsen wrote:
wouldn't it be nice to have the info in the brackets somewhere in
the arduino-help?Hans-Christoph Steiner wrote:
If you look at the arduino-help.pd or arduino-test.pd, the message
should be [digitalIns 1 1(. The first number is the port# and the
second is whether to enable it or not. (PORT0==pins 0-7,
PORT1==pins 8-13, PORT2==analog pins).If you are using Arduino 0017, you might want to upgrade the
included Firmata library with the latest version (check the README
for how) http://at.or.at/hans/pd/objects.html#pduino .hc On Nov 19, 2009, at 6:16 AM, altern wrote:hi
i am doing this small example to read a digital sensor with
pduino. i test it with an arduino program that reads pin 2 and
writes it to pin 13 and this works fine, i get a LED light on and
off with my infrared sensor.however when i try this very same setup in PD i dont get it to
work. i am starting up arduino object to the right COM port, i can
write manually to pin 13 and the LED flashes, but i dont get
anything from pin 2. I have not used digital sensors for ages with
PD so i dont remember the right way to set them up.I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am
doing wrongplease help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
---------------------------------------------------------------------------- Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list-- ETs DNA will not be televised
"It is convenient to imagine a power beyond us because that means we
don't have to examine our own lives.", from "The Idols of
Environmentalism", by Curtis White
would be nice to have the info about the port setting somewhere - either in the test or in the help - somehow it changes your layout of the arduino-test.pd. i've attached a basic variation ø
Hans-Christoph Steiner wrote:
I'm not sure what you mean, but Patches welcome! :-D
.hc
On Nov 19, 2009, at 1:44 PM, olsen wrote:
wouldn't it be nice to have the info in the brackets somewhere in the arduino-help?
Hans-Christoph Steiner wrote:
If you look at the arduino-help.pd or arduino-test.pd, the message should be [digitalIns 1 1(. The first number is the port# and the second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins 8-13, PORT2==analog pins).
If you are using Arduino 0017, you might want to upgrade the included Firmata library with the latest version (check the README for how) http://at.or.at/hans/pd/objects.html#pduino .hc On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ETs DNA will not be televised
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
aso it was a problem with the documentation. great, now it is working. thanks!!
Hans-Christoph Steiner(e)k dio:
If you look at the arduino-help.pd or arduino-test.pd, the message should be [digitalIns 1 1(. The first number is the port# and the second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins 8-13, PORT2==analog pins).
If you are using Arduino 0017, you might want to upgrade the included Firmata library with the latest version (check the README for how) http://at.or.at/hans/pd/objects.html#pduino
.hc
On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
Oops, yes indeed, I just updated that.
I'm actually thinking that the digitalIns and analogIns messages are
just extra complications without much benefit. I am thinking that
setting pinMode to "analog" or "input" should just send that message
too. How does that sound?
.hc
On Nov 19, 2009, at 3:13 PM, altern wrote:
aso it was a problem with the documentation. great, now it is
working. thanks!!Hans-Christoph Steiner(e)k dio:
If you look at the arduino-help.pd or arduino-test.pd, the message
should be [digitalIns 1 1(. The first number is the port# and the
second is whether to enable it or not. (PORT0==pins 0-7,
PORT1==pins 8-13, PORT2==analog pins). If you are using Arduino 0017, you might want to upgrade the
included Firmata library with the latest version (check the README
for how) http://at.or.at/hans/pd/objects.html#pduino .hc On Nov 19, 2009, at 6:16 AM, altern wrote:hi
i am doing this small example to read a digital sensor with
pduino. i test it with an arduino program that reads pin 2 and
writes it to pin 13 and this works fine, i get a LED light on and
off with my infrared sensor.however when i try this very same setup in PD i dont get it to
work. i am starting up arduino object to the right COM port, i can
write manually to pin 13 and the LED flashes, but i dont get
anything from pin 2. I have not used digital sensors for ages with
PD so i dont remember the right way to set them up.I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am
doing wrongplease help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
---------------------------------------------------------------------------- Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
If you are not part of the solution, you are part of the problem.
sounds ok to me but i use arduino very little so i my opinion should not count too much :)
Hans-Christoph Steiner(e)k dio:
Oops, yes indeed, I just updated that.
I'm actually thinking that the digitalIns and analogIns messages are just extra complications without much benefit. I am thinking that setting pinMode to "analog" or "input" should just send that message too. How does that sound?
.hc
On Nov 19, 2009, at 3:13 PM, altern wrote:
aso it was a problem with the documentation. great, now it is working. thanks!!
Hans-Christoph Steiner(e)k dio:
If you look at the arduino-help.pd or arduino-test.pd, the message should be [digitalIns 1 1(. The first number is the port# and the second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins 8-13, PORT2==analog pins). If you are using Arduino 0017, you might want to upgrade the included Firmata library with the latest version (check the README for how) http://at.or.at/hans/pd/objects.html#pduino .hc On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
If you are not part of the solution, you are part of the problem.
Hans-Christoph Steiner wrote:
Oops, yes indeed, I just updated that.
I'm actually thinking that the digitalIns and analogIns messages are just extra complications without much benefit. I am thinking that setting pinMode to "analog" or "input" should just send that message too. How does that sound?
makes sense to me too! ø
.hc
On Nov 19, 2009, at 3:13 PM, altern wrote:
aso it was a problem with the documentation. great, now it is working. thanks!!
Hans-Christoph Steiner(e)k dio:
If you look at the arduino-help.pd or arduino-test.pd, the message should be [digitalIns 1 1(. The first number is the port# and the second is whether to enable it or not. (PORT0==pins 0-7, PORT1==pins 8-13, PORT2==analog pins). If you are using Arduino 0017, you might want to upgrade the included Firmata library with the latest version (check the README for how) http://at.or.at/hans/pd/objects.html#pduino .hc On Nov 19, 2009, at 6:16 AM, altern wrote:
hi
i am doing this small example to read a digital sensor with pduino. i test it with an arduino program that reads pin 2 and writes it to pin 13 and this works fine, i get a LED light on and off with my infrared sensor.
however when i try this very same setup in PD i dont get it to work. i am starting up arduino object to the right COM port, i can write manually to pin 13 and the LED flashes, but i dont get anything from pin 2. I have not used digital sensors for ages with PD so i dont remember the right way to set them up.
I send this message to arduino pinMode 2 0
i also tried sending before digitalIns 1
but nothing comes from comport outlet. so i am not sure what i am doing wrong
please help!
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
If you are not part of the solution, you are part of the problem.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list