I followed the “Get Started: Application Development on STMicroelectronics STM32F746G-DISCO” and it works fine.
Now, I want to test to control the physical button on the board in the Java code, but I cannot find the associated documentation.
Can someone help me please?
If you want to test to control the physical button on your board in the Java code, you can follow this example on our Github: Example-Standalone-Foundation-Libraries/com.microej.example.foundation.hal.gpio at 48.0.1 · MicroEJ/Example-Standalone-Foundation-Libraries · GitHub
Hope it helps.
Corentin for MicroEJ
Thanks for your reply, it is very helpful in understanding how to control GPIO.
The GPIO.class says:
A pin is identified with its port and the pin number of its port. Each port has a unique ID which is implementation specific. Pin numbers are a zero-based indexes.
After reading the hardware schematic of the board, the button is wired to the pin PI11. So the port number is 11, but what is the ID of the port PI?
Can you tell me where I can find the information please?