Syntax of setting WK registers
![John Kauffman](https://forums.parallax.com/uploads/userpics/555/nZBNEPT0B6FMD.jpg)
Syntax of setting WK registers
·
Is there a syntax to set WKEN and WKED at the time of declaring a pin?
In other words, can I add those settings to the end of the following line?
I have experimented, but not found a command that works.
·
'
' IO Pins
'
MyPin···· · PIN···· RB.0 INPUT CMOS SCHMITT
·
Thanks
·
Is there a syntax to set WKEN and WKED at the time of declaring a pin?
In other words, can I add those settings to the end of the following line?
I have experimented, but not found a command that works.
·
'
' IO Pins
'
MyPin···· · PIN···· RB.0 INPUT CMOS SCHMITT
·
Thanks
Comments
Use "INTR_RISE" or "INTR_FALL" to enable interrupts on the rising or falling edge respectively.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
How did you know that? "Intr_Rise" does not show up in search of help or of Parallax site.
How about for WKEN ?
How did you know that? "Intr_Rise" does not show up in search of help or of Parallax site.
How about for WKEN ?
When are you going to amaze us with your next thrilling installment "The Release of the AMAZING power of the SX using SX/Basic". It's sure to be a Hitt (pun intended).
Regards
John Bond
The INTR_RISE / INTR_FALL parameter sets both WKEN and WKED registers.
John B.
If you are referring to the next version of the compiler, there are some major enhancements that are still in the testing stage. Send me a PM if you want more info, or if you want to beta test it.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·