-
Notifications
You must be signed in to change notification settings - Fork 29
Crash on digitalinput.init() #88
Comments
Fixed by adding |
However... when trying to run this on both cores (CM4 and CM7), with the code shown below, there seems to be interference. When activating input 1, output 1 flickers. I suppose this is because of the communication with the I/O expander happening from both cores simultaneously. What is the proper way to access the I/O expander from both cores? CM4:
CM7:
|
Hi @JustusRijke , CM7
CM4
|
Hi Martino, RPC seems quite slow. The test code below should toggle an output every 1 ms, but in reality this is 5 ms. Original problem solved, closing the issue. CM4:
CM7:
|
The following sketch works on my Arduino Machine Control (blink digital output 0):
However, when I uncomment
// digital_inputs.init();
Portenta becomes unreachable (fixed by pressing reset button twice).Can someone confirm this behavior?
Software used:
Board info:
The text was updated successfully, but these errors were encountered: