This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debuggin button

Hello!

I was trying to create a button debug, it has to change the value of one or more inputs of GPIO ports, but I can't :(

I have tried this sentences for creating the debugging button

DEFINE BUTTON "UP", "P2_P8 = 1" --> error 34: undefined identifier

DEFINE BUTTON "UP", "P2.8 = 1" --> Nothing happens.

DEFINE BUTTON "UP", "P2_P8 = 1" --> error 52: left side of '.' requires struct/union

DEFINE BUTTON "UP", "P2 = 0xFFFF" --> this sentece goes well but this isn't the funtion I want.

So, I don't know how I can simulate with a debugging button to put a up/down level in a GPIO port. Can someone help me, please?

Thanks for all, Willow.

0