addCallbacks abstract method
Add a listener for the digital interrupts.
// Add a listener for digital interrupts on pins 8 and 11
var interrupts = ['8', '11'];
final tickQueue = Queue<Tick>();
await myBoard.addCallbacks(interrupts, tickQueue);
For more information, see Board component.
Implementation
Future<void> addCallbacks(List<String> interrupts, Queue<Tick> tickQueue, {Map<String, dynamic>? extra});