Hello
I use pd-extended 0.42.5.
Has somebody an idea where the [convert.ascii2pd] object is?
Also the [string2any] object is missing.
I try to convert ASCII from an ARDUINO.
Thanks Martin
Convert.ascii2pd missig
Hello
I use pd-extended 0.42.5.
Has somebody an idea where the [convert.ascii2pd] object is?
Also the [string2any] object is missing.
I try to convert ASCII from an ARDUINO.
Thanks Martin
Did you upgrade to the latest Pd? As of 0.43.4 you have to specify the library when you're using externals. For [string2any] you have to either put first [import moocow] or type the object like this [moocow/string2any].
Don't know about [convert.ascii2pd] but if it's an Arduino you can change its' code and instead of Serial.print (or Serial.println) use Serial.write. This will send an 8bit value as a number and not ASCII.
Ok, thanks.
Attached is the code for the ARDUINO and a patch for Pd. The program for the ARDUINO scans analog A0 and sends 10bit data to the pd patch.
The protocol:
1st byte: header 0x00;
2nd byte: 2 bits for the Hi-Byte & 6 address bites.
3rd byte: Lo-Byte data.
With this simple protocol one can address 64 different sources and it works great.
Martin
Oops! Looks like something went wrong!