TraxusIV Posted May 14, 2019 Posted May 14, 2019 So I'm working on trying to get the NS430 module to cooperate with my hardware buttons, and I've discovered that it appears that it requires separate clickable actions to be called when a button is pressed and when it is released. For example, for the COM button, we have NS430_COM_FLIP_FLOP and NS430_COM_FLIP_FLOP_STOP_ACTION. Using just the flip flop action seems to work ok for most of the buttons (as an ActionButton), but when used with the com button, it results in the frequency always being set to guard, which happens on the real device when you hold down the button. So can anyone provide an example of how to do the following On physical momentary button press send NS430_COM_FLIP_FLOP with value of 1 On physical momentary button release send NS430_COM_FLIP_FLOP with value of 0 AND NS430_COM_FLIP_FLOP_STOP_ACTION with value of 1, then again with value of 0. Are all these steps actually necessary? Am I overcomplicating this? Thanks, T If you disapprove of this post, please feel free to give me negative rep. If you approve of this post, please feel free to give me negative rep.
JG14_Smil Posted May 17, 2019 Posted May 17, 2019 https://forums.eagle.ru/showthread.php?t=89226 Hello, See if the NS430 has a default.lua file. You have to make changes to each line when a button only toggles. It is insane we still have to do this after so many years...
Recommended Posts