I know nothing about the writestring function, but is it like a sprintf ?
Can you simply writestring(fd, "%c", 0x18); to send out a unsigned
8 bit character ?
-Russ
Search found 2 matches
- Sat Oct 04, 2008 10:40 pm
- Forum: NetBurner Software
- Topic: Serial Port data question
- Replies: 5
- Views: 5773
- Sat Oct 04, 2008 3:06 pm
- Forum: NetBurner Hardware
- Topic: Best source of SB70 GPIOs ?
- Replies: 2
- Views: 3731
Best source of SB70 GPIOs ?
I need a few GPIOs on my SB70. Ideally I'd use some of the pins
available on the serial header J5. Can those pins be used as GPIOs ?
If so, anyone got a few lines of code to set/get those pin values?
Thanks, -Russ
available on the serial header J5. Can those pins be used as GPIOs ?
If so, anyone got a few lines of code to set/get those pin values?
Thanks, -Russ