rotary: [#62] Change pin for rotary press.
* Connected button to ground. * It seems that initially chosen pin has no interrupts! * That's a way to spend several hours...
This commit is contained in:
parent
38b24f5998
commit
34618d640d
@ -22,7 +22,7 @@ private:
|
||||
ThreadCommon::QueueManager* _qm;
|
||||
DigitalIoPin signal[3] = { { 1, 18, true, true, false, true, PIN_INT0_IRQn}, //sigA
|
||||
{ 2, 12, true, true, false}, //sigB
|
||||
{ 0, 1, true, true, false, true, PIN_INT1_IRQn} }; //Press, sw //2 11
|
||||
{ 0, 2, true, true, false, true, PIN_INT1_IRQn} }; //Press, sw //2 11 (pin without interrupt) //0 1 (board button)
|
||||
};
|
||||
|
||||
void thread_rotary(void* pvParams);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user