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
■ 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.
The text was updated successfully, but these errors were encountered:
SuguruHarada64
changed the title
All interrupt pins become input ports when attachInterrupt() is executed (RL78G22)
All interrupt pins become input ports when attachInterrupt() is executed.
Oct 27, 2023
■ 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.
The text was updated successfully, but these errors were encountered: