You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When communicating with devices having only transmit pins, user is forced to
assign a transmit pin too, even if its not required. Results in "
"serial_sw_tx_pin" not defined". Can isdefined be used to avoid the transmit
pin usage in serial_sw library ?
Original issue reported on code.google.com by [email protected] on 23 Jul 2010 at 3:10
The text was updated successfully, but these errors were encountered:
Of course this is possible.
An other way to achieve the same is to define:
var bit serial_sw_tx_pin
This satisfies the compiler and all related code is removed by the optimiser if
you do not call is.
I thought this was in the documentation, but it seems not to. Maybe we should
extend the documentation?
I didn't think of the declaration you mentioned.It would be easier for the
user, if default is defined as "if not used no declaration needed". Yes
documentation too should be updated.
Original issue reported on code.google.com by
[email protected]
on 23 Jul 2010 at 3:10The text was updated successfully, but these errors were encountered: