Re: [PD] Arduino/Raspberry comport issue

2013-11-12 Thread kubriel
baud rate _should_ be the same in your arduino code and in your comport 
object, otherwise you get messed up characters.
i dont have rpi here, but i didnt noticed any chenges between running 
comport on rpi, or standard pc.
when you send [devices( you usually get list of connected serial devices 
- arduinos with usb2serial and com ports if you have.


also check, ig your user is in uucp group, i think it is necessary,
and maybe also dialout group can be important. probably it depense if 
you are using debian fedora or arch on this rpi


kub


On 11.11.2013 18:13, Alexandros Drymonitis wrote:
Are you sure the baud rate you set to [comport] is the same as the 
code you load on your Arduino? That could be a problem..
If you send the [devices( message to [comport] what do you get in the 
console?



On Mon, Nov 11, 2013 at 11:19 AM, kubriel kubr...@servus.at 
mailto:kubr...@servus.at wrote:



It won?t receive data.

Hi! i was using RPi plenty of times headless without any problems
with comport in pd, but usually running armarch linux.
but i was not using device name, but device nr, like [comport 0
9600] for uno, or [comport 4 9600] for duemilanove.

kub

-- 
http://kubriel.servus.at



___
Pd-list@iem.at mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list




--
http://kubriel.servus.at

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-11-12 Thread Ingirafn Steinarsson
Hello. I found this thread and I am trying to compile the on the 
raspberry pi. I think I managed to but I was wondering where the 
gpio-help.pd files mentioned exist .


Best

Ingirafn

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-11-12 Thread Julian Brooks
Hi Ingirafn,

This is the one that Jaime put together.

Best of luck with it all,

Julian


On 12 November 2013 11:20, Ingirafn Steinarsson ingir...@this.is wrote:

 Hello. I found this thread and I am trying to compile the on the raspberry
 pi. I think I managed to but I was wondering where the gpio-help.pd files
 mentioned exist .

 Best

 Ingirafn


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/
 listinfo/pd-list

#N canvas 50 28 530 426 10;
#X obj 57 197 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 83 300 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 71 259 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 71 279 metro 1;
#X msg 18 12 enable 1;
#X msg 28 39 open 1;
#X obj 8 371 gpio 17;
#X text 84 13 equivalent to: echo 17  /sys/class/gpio/export;
#X msg 39 133 output 1;
#X text 99 75 calls function open(buf \, 0_RDWR);
#X text 108 134 equivalent to: echo out  /sys/class/gpio/direction
;
#X text 115 150 args: 1 for out \, and 0 for in;
#X floatatom 65 218 5 0 0 0 - - -;
#X text 134 270 poll input;
#X text 77 199 write output;
#X text 90 58 sprintf(buf \, /sys/class/gpio/gpio%d/value \, x-x_pin)
\;;
#X text 82 39 not sure what this does \, but seems to set initial value?
;
#X text 73 372 argument is pin number (pin0) see:;
#X text 82 388 http://elinux.org/RPi_Low-level_peripherals#GPIO_hardware_hacking
;
#X connect 0 0 6 0;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 8 0 6 0;
#X connect 12 0 6 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-11-12 Thread Ingirafn Steinarsson
Hi, I would like to ask about the compiling. I belived I compiled the 
code. No warning came up while doing it. I took out the -m32 with the # 
symbol, like here.



# --- LINUX i386 and ia64 ---

l_i386: $(NAME).l_i386
l_ia64: $(NAME).l_ia64

.SUFFIXES: .l_i386 .l_ia64 .l_arm

LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS)

UNIXINCLUDE =  -I../pd/src -I../../pd/src -I../../../pd/src \
-I../../../../pd/src -I../../../../../pd/src
LINUXINCLUDE =  $(UNIXINCLUDE)

#tek ut allan i386

#.c.l_i386:
#$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -m32 -o $*.o -c $*.c
#$(CC) -m32 -shared -o $*.l_i386 $*.o -lc -lm
#strip --strip-unneeded $*.l_i386
#rm -f $*.o


--


Then when I run the help file I get this error code.

/home/pi/pure/pi-externs/gpio/gpio.l_i386: 
/home/pi/pure/pi-externs/gpio/gpio.l_i386: cannot open shared object 
file: No such file or directory

 gpio 17
... couldn't create

Where is the fault?

Best

Ingirafn

On 11/12/2013 12:31 PM, Julian Brooks wrote:

Hi Ingirafn,

This is the one that Jaime put together.

Best of luck with it all,

Julian


On 12 November 2013 11:20, Ingirafn Steinarsson ingir...@this.is 
mailto:ingir...@this.is wrote:


Hello. I found this thread and I am trying to compile the on the
raspberry pi. I think I managed to but I was wondering where the
gpio-help.pd files mentioned exist .

Best

Ingirafn


___
Pd-list@iem.at mailto: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


Re: [PD] Arduino/Raspberry comport issue

2013-11-12 Thread Allen, Michael
If I didn't mention I'm actually using a Teensy 3.0 not an arduino. Read on 
pjrc.comhttp://pjrc.com that the teensy runs at full USB speed all the time 
unlike arduino. So that seems like the comport speed should be irrelevant?

In any case yesterday I turned the rip and teensy on and pd was reading from it 
immediately every time I opened a patch. Maybe it worked itself out? I'm using 
ccrma satellite which is a raspbian distro. I'll check the user permissions also

On Nov 12, 2013, at 2:38 AM, kubriel 
kubr...@servus.atmailto:kubr...@servus.at wrote:

baud rate _should_ be the same in your arduino code and in your comport object, 
otherwise you get messed up characters.
i dont have rpi here, but i didnt noticed any chenges between running comport 
on rpi, or standard pc.
when you send [devices( you usually get list of connected serial devices - 
arduinos with usb2serial and com ports if you have.

also check, ig your user is in uucp group, i think it is necessary,
and maybe also dialout group can be important. probably it depense if you are 
using debian fedora or arch on this rpi

kub


On 11.11.2013 18:13, Alexandros Drymonitis wrote:
Are you sure the baud rate you set to [comport] is the same as the code you 
load on your Arduino? That could be a problem..
If you send the [devices( message to [comport] what do you get in the console?


On Mon, Nov 11, 2013 at 11:19 AM, kubriel 
kubr...@servus.atmailto:kubr...@servus.at wrote:

It won?t receive data.
Hi! i was using RPi plenty of times headless without any problems with comport 
in pd, but usually running armarch linux.
but i was not using device name, but device nr, like [comport 0 9600] for uno, 
or [comport 4 9600] for duemilanove.

kub

--
http://kubriel.servus.at


___
Pd-list@iem.atmailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



--
http://kubriel.servus.at
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] how to install and use GPIO external

2013-11-12 Thread Martin Peach

The rpi uses arm architecture so you should be building for .l_arm

Martin


On 2013-11-12 15:00, Ingirafn Steinarsson wrote:

Hi, I would like to ask about the compiling. I belived I compiled the
code. No warning came up while doing it. I took out the -m32 with the #
symbol, like here.


# --- LINUX i386 and ia64 ---

l_i386: $(NAME).l_i386
l_ia64: $(NAME).l_ia64

.SUFFIXES: .l_i386 .l_ia64 .l_arm

LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
 -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes \
 -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS)

UNIXINCLUDE =  -I../pd/src -I../../pd/src -I../../../pd/src \
 -I../../../../pd/src -I../../../../../pd/src
LINUXINCLUDE =  $(UNIXINCLUDE)

#tek ut allan i386

#.c.l_i386:
#$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -m32 -o $*.o -c $*.c
#$(CC) -m32 -shared -o $*.l_i386 $*.o -lc -lm
#strip --strip-unneeded $*.l_i386
#rm -f $*.o


--


Then when I run the help file I get this error code.

/home/pi/pure/pi-externs/gpio/gpio.l_i386:
/home/pi/pure/pi-externs/gpio/gpio.l_i386: cannot open shared object
file: No such file or directory
  gpio 17
... couldn't create

Where is the fault?

Best

Ingirafn

On 11/12/2013 12:31 PM, Julian Brooks wrote:

Hi Ingirafn,

This is the one that Jaime put together.

Best of luck with it all,

Julian


On 12 November 2013 11:20, Ingirafn Steinarsson ingir...@this.is
mailto:ingir...@this.is wrote:

Hello. I found this thread and I am trying to compile the on the
raspberry pi. I think I managed to but I was wondering where the
gpio-help.pd files mentioned exist .

Best

Ingirafn


___
Pd-list@iem.at mailto: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




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] PuREST JSON 0.15.0 released

2013-11-12 Thread Thomas Mayer
Hello,

I am happy to announce version 0.15.0 of PuREST JSON, code name: The API
they are a-changing.

PuREST JSON is a library for working with RESTful HTTP webservices, and
JSON data.

Authentication and authorization for webservices are available with
basic HTTP auth, cookie authentication, and OAuth. As an example for
OAuth authenticated webservices, a Twitter client is included.

Changes in the new version:
- Cancellation is now faster
- Switch to json-c 0.11
- Refactoring of code
- Breaking changes:
  -- [oauth] and [rest]:
 * [write( method is now called [file(
 * [url( method is now called [init(
 * init errors only output to console
 * changes to status outlet:
   ** on success output bang
   ** on HTTP error output numerical HTTP status
   ** on cURL error output list: error code and message
  -- [rest-json] has been removed
  -- [json-decode]:
 * string values will not be checked for numbers or boolean

If your build tool or platform does not have json-c 0.11 available, use
the branch json-c-0.10 for compilation.

Github repository:
https://github.com/residuum/PuRestJson

Source code packages:
https://github.com/residuum/PuRestJson/releases

Binaries for Windows and Debian i386 and amd64:
http://ix.residuum.org/pd/purest_json.html

Build instructions for all platforms:
https://github.com/residuum/PuRestJson/wiki/Compilation

Have fun,
Thomas
-- 
Chaney was aware that anything, however small, can get the eye of the
media if it's repulsive enough. (Robert Anton Wilson - The Universe
Next Door)
http://www.residuum.org/

___
Pd-announce mailing list
pd-annou...@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


[PD] PdParty (PD + iOS) seeking more testers

2013-11-12 Thread Dan Wilcox
Howdy all,

I've used PdParty for a few small events and I'm seeking more testers. So far, 
it's been pretty stable and, other than a few rough edges, is ready for use. I 
just need an icon at this point before putting it on the app store.

Reply to this if you want in.


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list