So if you try to create multiple common handlers via lambda functions, you get screwed as the lambdas are optimized out. In the end all the interrupts calls the last lambda callback function.
How to overcome this?
So if you try to create multiple common handlers via lambda functions, you get screwed as the lambdas are optimized out. In the end all the interrupts calls the last lambda callback function.
How to overcome this?
So I am playing with the possibilities of micropython – the python interpreter in the embeded microcontroller enviroment. Using the STM32F4Discovery board.
Currently I am driving 4 character displays (HD lcd1602) with I2C controllers (ebay) via one STM’s i2c line. Creating a game of snake :“).
The source code is available on my github repo here.
Take a look and envy!