I am new to embedded systems, just bought myself a Arduino UNO R4 WIFI board running the Renesas RA4M1 Arm Cortex MC. I was trying to get the inbuilt LED to blink , using all the available schematics and recommended codes, but I can't get it to work using the direct register approach. I can get it to work using the pinMode etc. commands on the Arduino IDE, but not using the direct register approach.
I would like any advice in this regard.