It appears that the 5102 HAT uses pin 6 GPIOL11 (363) of the nanopi for Infra Red purposes, like the allwinner H3 datasheet suggests.
However, I cannot get this to work with the matrix demo example. I changed the pin number in this example to the right value (from 203 to 363) but still no luck. The code does work when an infra red sensor is attached to pin gpioG11 (203). I double checked the fex file to see if the pin GPIOL11 was already used for other purposes,but it wasn't. Am I missing something? Please advise..
However, I cannot get this to work with the matrix demo example. I changed the pin number in this example to the right value (from 203 to 363) but still no luck. The code does work when an infra red sensor is attached to pin gpioG11 (203). I double checked the fex file to see if the pin GPIOL11 was already used for other purposes,but it wasn't. Am I missing something? Please advise..