Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS?
i'm using all the latest stuff, i'm pretty sure of that. i'm on gentoo linux and i have tried a round about method and bypassed the java program and compiled and uploaded myself using avrdude. this has worked. frankly i think i prefer compiling it myself rather than the java app, it seems a bit less clunky. however, it would be good to understand why it is not compiling with the java app. i think that it may not be seeing where pins_arduino.c is but i really don't know what i'm talking about.
the only thing now is getting the arduino to commuicate witht the patch. i have started testing but kinda fumbling round in the dark trying to work some stuff out. i have the patch loaded and all signs are good, it is registering /dev/ttyUSB0 and reporting to me the firmware as 1.0 so i'm happy with that. i started with jamming a led into the GND and Digital 13 pins and switching one of the digital toggles on the patch. however nothing yet. i thought that might light up my life but, no. i also tried putting a potentiometer with the outer pins in 5v and GND and the middle pin into analog 2 but nope to that either. i wonder if its my electronic or skills or my fumbling skills that are at a loss here. any suggestions welcome. cheers On 3/20/07, marius schebella marius.schebella@gmail.com wrote:
Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS? marius.
we are wrote:
so now i have my new arduino i'm getting stuck into it. i have made all sorts of christmas lights and the necessary tutorials and i'm now starting the pd exploration. i have everything running except when i try and compile the Pd_firmware.pde for pduino within the java arduino program i get an error that does not allow me to compile the software.
In function
void checkDigitalInputs()': error:
port_to_input' was not declared in this scopeand it highlights lines... 259- 272
void checkDigitalInputs(void) { if(digitalInputsEnabled) { previousDigitalInputs = digitalInputs; digitalInputs = _SFR_IO8(port_to_input[PB]) << 8; // get pins 8-13 digitalInputs += _SFR_IO8(port_to_input[PD]); // get pins 0-7 digitalInputs = digitalInputs &~ digitalPinStatus; // ignore pins set OUTPUT if(digitalInputs != previousDigitalInputs) { // TODO: implement more ports as channels for more than 16 digital pins Serial.print(DIGITAL_MESSAGE,BYTE); Serial.print(digitalInputs % 128, BYTE); // Tx pins 0-6 Serial.print(digitalInputs >> 7, BYTE); // Tx pins 7-13 } } }
i don't know any c but from what i can estimate, there is no
int port_to_input
is this file refering to another file, or where have i gone wrong?
thanks
On 3/10/07, we are gateswideopen@gmail.com wrote:
---------- Forwarded message ---------- From: we are gateswideopen@gmail.com Date: Mar 10, 2007 1:43 PM Subject: Re: [PD] [PD-announce] Pduino 0.3 release To: Hans-Christoph Steiner hans@eds.org
thanks hans
can't wait to try it, but i have to as my duino is in transit damnit! great to see people using this thing as i'm about to join the club. ta
On 3/9/07, Hans-Christoph Steiner hans@eds.org wrote:
Sure, thanks for testing it. I'd like to add pulseOut() and shiftOut (), do you have any devices that need that, like servos or character displays? I don't so...
.hc
On Mar 8, 2007, at 5:18 AM, Roman Haefeli wrote:
hello hans
cool! i will test it as soon as i will get my arduino in my fingers again.
and:
many thanks or all that work you invested in this project!
cheers roman
On Thu, 2007-03-08 at 01:04 -0500, Hans-Christoph Steiner wrote:
http://at.or.at/hans/pd/objects.html
You can read all about the protocol design here:
http://www.arduino.cc/playground/Interfacing/Sensorbox
Here are some key changes:
- new MIDI-based protocol
- rebuilt from scratch, cleaner and smaller code
- timer-based loop to poll analogIns and serial
- the firmware will report its version, and blink the version at boot
- reduced serial speed to 57600 to work around glitches
- Makefile to build from command line
Hopefully this works better, test it out and let me know.
.hc
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
PD-announce mailing list PD-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http:// messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
your circuit setup should work. you can also try to put the LED into pin12 and gnd (short leg to ground). usually you should not do that without an additional resistor, but for testing it is ok and will will make it light brighter. I don't know on which serial port your arduino is, but if you receive the version number it seems to be ok. when testing make sure that you set the pins to output mode pinMode 13 1 and then switch the pin to high with digital 13 1. sometimes when you have sent the pin analog output messages you will have to reset pinMode to 1 again. marius.
we are wrote:
Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS?
i'm using all the latest stuff, i'm pretty sure of that. i'm on gentoo linux and i have tried a round about method and bypassed the java program and compiled and uploaded myself using avrdude. this has worked. frankly i think i prefer compiling it myself rather than the java app, it seems a bit less clunky. however, it would be good to understand why it is not compiling with the java app. i think that it may not be seeing where pins_arduino.c is but i really don't know what i'm talking about.
the only thing now is getting the arduino to commuicate witht the patch. i have started testing but kinda fumbling round in the dark trying to work some stuff out. i have the patch loaded and all signs are good, it is registering /dev/ttyUSB0 and reporting to me the firmware as 1.0 so i'm happy with that. i started with jamming a led into the GND and Digital 13 pins and switching one of the digital toggles on the patch. however nothing yet. i thought that might light up my life but, no. i also tried putting a potentiometer with the outer pins in 5v and GND and the middle pin into analog 2 but nope to that either. i wonder if its my electronic or skills or my fumbling skills that are at a loss here. any suggestions welcome. cheers On 3/20/07, marius schebella marius.schebella@gmail.com wrote:
Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS? marius.
we are wrote:
so now i have my new arduino i'm getting stuck into it. i have made all sorts of christmas lights and the necessary tutorials and i'm now starting the pd exploration. i have everything running except when i try and compile the Pd_firmware.pde for pduino within the java arduino program i get an error that does not allow me to compile the software.
In function
void checkDigitalInputs()': error:
port_to_input' was not declared in this scopeand it highlights lines... 259- 272
void checkDigitalInputs(void) { if(digitalInputsEnabled) { previousDigitalInputs = digitalInputs; digitalInputs = _SFR_IO8(port_to_input[PB]) << 8; // get pins
8-13
digitalInputs += _SFR_IO8(port_to_input[PD]); // get pins
0-7
digitalInputs = digitalInputs &~ digitalPinStatus; // ignore
pins set OUTPUT
if(digitalInputs != previousDigitalInputs) { // TODO: implement more ports as channels for more than 16
digital pins
Serial.print(DIGITAL_MESSAGE,BYTE); Serial.print(digitalInputs % 128, BYTE); // Tx pins 0-6 Serial.print(digitalInputs >> 7, BYTE); // Tx pins 7-13 }
} }
i don't know any c but from what i can estimate, there is no
int port_to_input
is this file refering to another file, or where have i gone wrong?
thanks
On 3/10/07, we are gateswideopen@gmail.com wrote:
---------- Forwarded message ---------- From: we are gateswideopen@gmail.com Date: Mar 10, 2007 1:43 PM Subject: Re: [PD] [PD-announce] Pduino 0.3 release To: Hans-Christoph Steiner hans@eds.org
thanks hans
can't wait to try it, but i have to as my duino is in transit damnit! great to see people using this thing as i'm about to join the club. ta
On 3/9/07, Hans-Christoph Steiner hans@eds.org wrote:
Sure, thanks for testing it. I'd like to add pulseOut() and shiftOut (), do you have any devices that need that, like servos or character displays? I don't so...
.hc
On Mar 8, 2007, at 5:18 AM, Roman Haefeli wrote:
hello hans
cool! i will test it as soon as i will get my arduino in my fingers again.
and:
many thanks or all that work you invested in this project!
cheers roman
On Thu, 2007-03-08 at 01:04 -0500, Hans-Christoph Steiner wrote: > http://at.or.at/hans/pd/objects.html > > You can read all about the protocol design here: > > http://www.arduino.cc/playground/Interfacing/Sensorbox > > Here are some key changes: > - new MIDI-based protocol > - rebuilt from scratch, cleaner and smaller code > - timer-based loop to poll analogIns and serial > - the firmware will report its version, and blink the version at
boot
> - reduced serial speed to 57600 to work around glitches > - Makefile to build from command line > > Hopefully this works better, test it out and let me know. > > .hc > >
> --- > > Looking at things from a more basic level, you can come up with a > more direct solution... It may sound small in theory, but it in > practice, it can change entire economies. - Amy Smith > > > > _______________________________________________ > PD-announce mailing list > PD-announce@iem.at > http://lists.puredata.info/listinfo/pd-announce > > _______________________________________________ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http:// messenger.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
cool! all working now. thanks marius and hans
On 3/20/07, marius schebella marius.schebella@gmail.com wrote:
your circuit setup should work. you can also try to put the LED into pin12 and gnd (short leg to ground). usually you should not do that without an additional resistor, but for testing it is ok and will will make it light brighter. I don't know on which serial port your arduino is, but if you receive the version number it seems to be ok. when testing make sure that you set the pins to output mode pinMode 13 1 and then switch the pin to high with digital 13 1. sometimes when you have sent the pin analog output messages you will have to reset pinMode to 1 again. marius.
we are wrote:
Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS?
i'm using all the latest stuff, i'm pretty sure of that. i'm on gentoo linux and i have tried a round about method and bypassed the java program and compiled and uploaded myself using avrdude. this has worked. frankly i think i prefer compiling it myself rather than the java app, it seems a bit less clunky. however, it would be good to understand why it is not compiling with the java app. i think that it may not be seeing where pins_arduino.c is but i really don't know what i'm talking about.
the only thing now is getting the arduino to commuicate witht the patch. i have started testing but kinda fumbling round in the dark trying to work some stuff out. i have the patch loaded and all signs are good, it is registering /dev/ttyUSB0 and reporting to me the firmware as 1.0 so i'm happy with that. i started with jamming a led into the GND and Digital 13 pins and switching one of the digital toggles on the patch. however nothing yet. i thought that might light up my life but, no. i also tried putting a potentiometer with the outer pins in 5v and GND and the middle pin into analog 2 but nope to that either. i wonder if its my electronic or skills or my fumbling skills that are at a loss here. any suggestions welcome. cheers On 3/20/07, marius schebella marius.schebella@gmail.com wrote:
Hi, this is very strange. which version of arduino language are you using? I can't think of another problem than that... which OS? marius.
we are wrote:
so now i have my new arduino i'm getting stuck into it. i have made all sorts of christmas lights and the necessary tutorials and i'm now starting the pd exploration. i have everything running except when i try and compile the Pd_firmware.pde for pduino within the java arduino program i get an error that does not allow me to compile the software.
In function
void checkDigitalInputs()': error:
port_to_input' was not declared in this scopeand it highlights lines... 259- 272
void checkDigitalInputs(void) { if(digitalInputsEnabled) { previousDigitalInputs = digitalInputs; digitalInputs = _SFR_IO8(port_to_input[PB]) << 8; // get pins
8-13
digitalInputs += _SFR_IO8(port_to_input[PD]); // get pins
0-7
digitalInputs = digitalInputs &~ digitalPinStatus; // ignore
pins set OUTPUT
if(digitalInputs != previousDigitalInputs) { // TODO: implement more ports as channels for more than 16
digital pins
Serial.print(DIGITAL_MESSAGE,BYTE); Serial.print(digitalInputs % 128, BYTE); // Tx pins 0-6 Serial.print(digitalInputs >> 7, BYTE); // Tx pins 7-13 }
} }
i don't know any c but from what i can estimate, there is no
int port_to_input
is this file refering to another file, or where have i gone wrong?
thanks
On 3/10/07, we are gateswideopen@gmail.com wrote:
---------- Forwarded message ---------- From: we are gateswideopen@gmail.com Date: Mar 10, 2007 1:43 PM Subject: Re: [PD] [PD-announce] Pduino 0.3 release To: Hans-Christoph Steiner hans@eds.org
thanks hans
can't wait to try it, but i have to as my duino is in transit damnit! great to see people using this thing as i'm about to join the club. ta
On 3/9/07, Hans-Christoph Steiner hans@eds.org wrote:
Sure, thanks for testing it. I'd like to add pulseOut() and shiftOut (), do you have any devices that need that, like servos or character displays? I don't so...
.hc
On Mar 8, 2007, at 5:18 AM, Roman Haefeli wrote:
> hello hans > > cool! i will test it as soon as i will get my arduino in my fingers > again. > > and: > > many thanks or all that work you invested in this project! > > cheers > roman > > On Thu, 2007-03-08 at 01:04 -0500, Hans-Christoph Steiner wrote: >> http://at.or.at/hans/pd/objects.html >> >> You can read all about the protocol design here: >> >> http://www.arduino.cc/playground/Interfacing/Sensorbox >> >> Here are some key changes: >> - new MIDI-based protocol >> - rebuilt from scratch, cleaner and smaller code >> - timer-based loop to poll analogIns and serial >> - the firmware will report its version, and blink the version at
boot
>> - reduced serial speed to 57600 to work around glitches >> - Makefile to build from command line >> >> Hopefully this works better, test it out and let me know. >> >> .hc >> >>
>> --- >> >> Looking at things from a more basic level, you can come up with a >> more direct solution... It may sound small in theory, but it in >> practice, it can change entire economies. - Amy Smith >> >> >> >> _______________________________________________ >> PD-announce mailing list >> PD-announce@iem.at >> http://lists.puredata.info/listinfo/pd-announce >> >> _______________________________________________ >> PD-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ >> listinfo/pd-list > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http:// > messenger.yahoo.de > > > _______________________________________________ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ > listinfo/pd-list
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->