-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
■ Corresponding version
v.2.0.0 and Before v.2.0.0
■ Contents and Occurrence conditions
The attachInterrupt function is originally a function that sets the specified interrupt pin as an input port and defines an interrupt handler. However, there was a problem in which all interrupt pins were set to input ports in the attachInterrupt function. Therefore, if a specific terminal is set as output before calling the attachInterrupt function, that terminal will be overwritten as input. The pins to be initialized are as follows
P16, P31, P137, P140
■ Workaround
1. Set the attachInterrupt() function at the beginning of the setup function.
2. 1 Set the next output terminal with pinMode.
■ Permanent measures
Fixed in v.2.1.0.