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:
RedHawk 2023-06-13 16:50:10 +03:00
parent 38b24f5998
commit 34618d640d

View File

@ -22,7 +22,7 @@ private:
ThreadCommon::QueueManager* _qm; ThreadCommon::QueueManager* _qm;
DigitalIoPin signal[3] = { { 1, 18, true, true, false, true, PIN_INT0_IRQn}, //sigA DigitalIoPin signal[3] = { { 1, 18, true, true, false, true, PIN_INT0_IRQn}, //sigA
{ 2, 12, true, true, false}, //sigB { 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); void thread_rotary(void* pvParams);