dear list,

find attached a really simple abstraction to convert a single byte value into 8 
bit outputs. it handles higher values gracefully (it just outputs the lower 8 
bits)

i use it to restore saved boolean values on an atmega eeprom to puredata (the 
values are saved into bytes on the arduino to save space). since it is really 
handy for me i thought i’d share.


you may want to put some additional characters after the name when you create 
the abstraction to see all outlets :-) (e.g. bytetobit ……..)

cheers

simon

Attachment: bytetobit.pd
Description: Binary data

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to