Morten Kals

Results 7 comments of Morten Kals

If it is not too hard I could take a look at implementing it myself, but I am assuming there may be a reason for it to have been left...

Ok, thanks for your quick reply! I have been looking into this for a few hours now, but I am struggling. The core needs to wake in time for the...

Thanks a lot @fpistm! I'll see what I can figure out.

By setting the `I2C1->CR1 |= I2C_CR1_WUPEN;` bit, the STM32L0 wakes on I2C from `LowPower.sleep()`, but it does not seem to wake on `LowPower.deepSleep()` or `HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);`. I make sure I...

I have also tried setting other bits in the I2C_CR1 register manually, but it does not make a difference. ``` SET_BIT(I2C1->CR1, I2C_CR1_PE); SET_BIT(I2C1->CR1, I2C_CR1_WUPEN); SET_BIT(I2C1->CR1, I2C_CR1_STOPIE); SET_BIT(I2C1->CR1, I2C_CR1_RXIE); SET_BIT(I2C1->CR1, I2C_CR1_ADDRIE);...

I have the same problem. It works fine for sample polygons, but not for masks I generate with CVs findContours function.

I solved my issue - `findCountours` returns a set of coordinates in the form `[[[1,2]],[[3,4]],...]`. Polylabel needs the list to be formatted as `[[[1,2],[3,4],...]]`. Hope this helps others that may...