Arduino: separated interrupt callbacks
Java: fixed TC
This commit is contained in:
parent
17e50573d6
commit
15555ea7eb
5 changed files with 34 additions and 30 deletions
|
|
@ -9,7 +9,7 @@ void SensorPhotocell::interruptHandler()
|
|||
|
||||
void SensorPhotocell::setup()
|
||||
{
|
||||
Interrupt::setCallback(SensorPhotocell::interruptHandler);
|
||||
Interrupt::setPinCallback(SensorPhotocell::interruptHandler);
|
||||
Interrupt::setupPinInterrupt(PC2); //PC3
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue