Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Bugs & Suggestions / shiftOut tutorial and Arduino 007 on: May 23, 2007, 06:57:17 am
Hi all, and particularly Carlyn Maw and Tom Igoe,
 
First thanks a lot for the shiftOut tutorial using a 74HC595 Shift Register. ( http://www.arduino.cc/en/Tutorial/ShiftOut )
 
I suggest that you add a note to it, precising that there is now an integrated shiftOut function in Arduino 007.  
 
I added the tutorial code to my own code, then realized later on that the function was redundant. Removing it saved some precious bytes in my code !!

--
(this a repost, as I posted this message in the wrong, hardware forum. And I do not seem to be able to delete it now that a few days are gone...)
2  Forum 2005-2010 (read only) / Bugs & Suggestions / shiftOut tutorial and Arduino 007 on: May 13, 2007, 01:15:46 pm
Hi all, and particularly Carlyn Maw and Tom Igoe,

First thanks a lot for the shiftOut tutorial using a 74HC595 Shift Register. ( http://www.arduino.cc/en/Tutorial/ShiftOut )

I suggest that you add a note to it, precising that there is now an integrated shiftOut function in Arduino 007.

I added the tutorial code to my own code, then realized later on that the function was redundant. Removing it saved some precious bytes in my code.

3  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Binary Formatter "B" works only on bytes on: May 13, 2007, 11:08:04 am
it seems that these formaters are just defined constant :

#define B11111110 254
#define B11111111 255

in binary.h

so you could also define your own set, I suppose, for a whole 16bit integer. Don't forget to add some zeros, like here :

#define B1000 8
#define B01000 8
#define B001000 8
#define B0001000 8
#define B00001000 8

That would be a lot of constants !!
Pages: [1]