i think you should be able to control a shift register
 from pd within the existing architecture.

if you can access those 3 pins from pd just send them the HIGHs and LOWs you would send in arduino code…



On 29 Jun 2019, at 04:54, school shoes <schoolshoes@outlook.com> wrote:

Hi Roman, 
thanks very much for your work on this, i use pduino quite a lot definitely deserves love ! 
Shift register ics like 74HC59 add extra outputs to arduino but only need 3 pins to control (data, clock, latch) . 
Looks like arduino does this with a shiftOut() function ( https://www.arduino.cc/en/Tutorial/ShiftOut ) .
On the PD side i guess I'm just looking to somehow communicate with the shift register ic and turn its pins HIGH and LOW like the normal I/O pins. 
Tbh I haven’t used shift registers much myself yet but just looking into them as i suddenly need a considerable amount of outputs, so was wondering if there was a pduino equivalent. 

thanks !

From: Pd-list <pd-list-bounces@lists.iem.at> on behalf of Roman Haefeli <reduzent@gmail.com>
Sent: Saturday, 29 June 2019 8:23 AM
To: pd-list@lists.iem.at
Subject: Re: [PD] Pduino and shift registers
 
On Fri, 2019-06-28 at 15:38 +0000, school shoes wrote:
> Hi there, 
> just wondering if pduino currently has support for shift registers? 
> a quick google came up with this post from 2009: 
> https://forum.arduino.cc/index.php?topic=6910.0
> that seems to suggest that support is coming , but can't seem to find
> much mention of it since.

It seems nobody else is taking care of the pduino library and since I
seem to be the last person having worked on it, I feel a bit
responsible. I'm not using it often these days, but I find it deserves
some love. 

Maybe adding support for shift registers is doable, but I don't quite
understand what that exactly means. Can you describe in few words what
you would like to send from Pd and what the output of the Arduino board
should look like?

Roman 
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list