Hey guys,
So, i got a G400 development board and started playing around with the netmf 4.3 samples.
I was able to deploy the samples and eventually get them to work, like the touch calibration sample (which is needed).
I ran into the issue that the HardwareProvider class was not returning the correct ID that referenced the left button.
// Use the hardware provider to get the pins. If the left pin is
// not set, assume none of the pins are set and set the left pin
// back to the default emulator value.
if ((pinLeft = hwProvider.GetButtonPins(Button.VK_LEFT)) ==
Cpu.Pin.GPIO_NONE)
pinLeft = Cpu.Pin.GPIO_Pin0;
else
{
pinRight = hwProvider.GetButtonPins(Button.VK_RIGHT);
pinUp = hwProvider.GetButtonPins(Button.VK_UP);
pinSelect = hwProvider.GetButtonPins(Button.VK_SELECT);
pinDown = hwProvider.GetButtonPins(Button.VK_DOWN);
}
Specifically the
calls are returning pins that are not mapped to the buttons located on the development board. Are there any changes (beside hard coding the pins) that can be done to correctly report these values, or does this require a firmware update?