First off, a big thank you to this group... it has answers to many of my questions and I've learned a great deal. The jal libraries are fantastic.
I am trying to take a decimal formatted byte (sent serial from a PC) and convert that to turning on/off individual pins. My 8 pins are on different ports.... 4 on portb 4 portc. Other pins on C and B ports are being used for other, non output purposes. Often, when I program in basic or c++ there are functions to format a decimal byte to a string of 0's and 1's..... then, using string functions like MID I pick out each bit and get it's value that way. I am not finding any way to format a decimal byte to a binary or ways to pick out individual characters of a string with JAL. I suspect there might be a simple way to do this? Thanks again. -- You received this message because you are subscribed to the Google Groups "jallib" group. To view this discussion on the web visit https://groups.google.com/d/msg/jallib/-/jKSxr0aGRNcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
