Interrupts on stm32f4 discovery with recompile firmware with C code #7590
Replies: 1 comment
-
Posted at 2018-03-26 by @gfwilliams You want to use setWatch with However you wouldn't be able to use http://www.espruino.com/InlineC on the STM32F4discovery, since it's a service I only provide to paid boards. Posted at 2018-03-26 by MaksR I write from memory - a possible error in the syntax: void jswrap_ReadD0{ setWatch(function(e) { wiegand.ReadD0; }, E2, { repeat:true, edge:'falling', irq : true}); Espruino write:".. not native function .." Posted at 2018-03-27 by @gfwilliams
Posted at 2018-03-27 by MaksR Thank you very much for your attention! Posted at 2018-04-03 by MaksR Hi, Posted at 2018-04-04 by @gfwilliams Yes, and no debounce either - check out the setWatch reference: http://www.espruino.com/Reference#l__global_setWatch |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-03-23 by MaksR
Can I use setWatch (function, pin, {ir:true}) on stm32f4discovery, where function on C code with recompile firmware ?
Beta Was this translation helpful? Give feedback.
All reactions