Comment #4 on issue 158 by robhamerling: Serial hardware init() should
include pin direction settings
http://code.google.com/p/jallib/issues/detail?id=158
Seb, you are right, this has been agreed long ago and it applies to this
issue.
But it means:
1. Libraries should contain a comment that the user program is responsible
for direction setting of pin_RX (and pin_TX to be consistent). I expect
most users won't read JSG.
2. The sample programs must explicitly set pin directions and not rely on
reset status.
The sample of mkerna for the 16f88 indeed doesn't work because of wrong
direction of pin_RX before calling serial_hw_init(). But the same program
works fine with the 16f883/6!
Rob.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
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.