Home > other >  Small white help GD32 how to use IO mouth acquisition switch quantity, is can directly make the GPIO
Small white help GD32 how to use IO mouth acquisition switch quantity, is can directly make the GPIO

Time:10-02

For help, I post my code, I need to read hd1-5 corresponding pins of the signal, the five pins signal to form the handle to the value of each gear, such as 10011, and then to print the value to a serial port, but to write like this always can't use a serial port to print output pin signals, don't know what is missing step

CodePudding user response:

Help ah, your bosses, the problem is simple, but the card has a lot of days

CodePudding user response:

Print out the value of the is what?

CodePudding user response:

refer to the second floor forget345 response:
value is printed?

Serial printed value is the level of hexadecimal values, level 5 pin, is is level value should switch quantity? I understand is to read the switch quantity is reading level

CodePudding user response:

refer to the second floor qq_39243464 response:
Quote: refer to the second floor forget345 response:
value is printed?

Serial printed value is the level of hexadecimal values, level 5 pin, is is level value should switch quantity? I understand is to read the switch quantity is reading level

I mean the pin level is 10011, not printed cost?

CodePudding user response:

reference 4 floor forget345 response:
Quote: refer to the second floor qq_39243464 response:

Quote: refer to the second floor forget345 response:
value is printed?

Serial printed value is the level of hexadecimal values, level 5 pin, is is level value should switch quantity? I understand is to read the switch quantity is reading level

I mean the pin level is 10011, not printed cost?

To measure, not to come out, now measured to add switch input area
  • Related