I don't mind either way since the user may set pin direction in their
code anytime after the includes.

I would prefer to remove code from samples and have it in the lib. Pin
direction is required for most libs to work.

Matt.

On Feb 27, 7:49 am, [email protected] wrote:
> Comment #8 on issue 158 by robhamerling: Serial hardware init() should
> include pin direction 
> settingshttp://code.google.com/p/jallib/issues/detail?id=158
>
> I don't recall why we did choose for the strict JSG rule "user program is
> responsible for pin direction". Relaxing this rule seems reasonable in
> situations where pin assignment is dictated by hardware. The corresponding
> library would become responsible for proper pin-direction setting.
>
> This would become a general rule, not only for serial_hardware. So probably
> also other libraries may have to be adapted (SPI, I2C, etc).  And samples
> might have to be adapted too.
>
> Do we agree or do we have to vote?

-- 
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.

Reply via email to