Skip to content

Instantly share code, notes, and snippets.

@varofla

varofla/main.ino Secret

Last active June 29, 2023 16:55
Show Gist options
  • Save varofla/7867ada08db70190413d2a070330acc1 to your computer and use it in GitHub Desktop.
Save varofla/7867ada08db70190413d2a070330acc1 to your computer and use it in GitHub Desktop.
How to use Arduino UNO R4 MINIMA's LOVE Pin
// VarOfLa from S.Korea
// I LOVE you too, Arduino!
void setup() {
// P204 -> PORT 2, PIN 4
R_IOPORT_PinCfg(NULL, BSP_IO_PORT_02_PIN_04, IOPORT_CFG_PORT_DIRECTION_OUTPUT);
}
void loop() {
R_IOPORT_PinWrite(NULL, BSP_IO_PORT_02_PIN_04, BSP_IO_LEVEL_HIGH);
delay(100);
R_IOPORT_PinWrite(NULL, BSP_IO_PORT_02_PIN_04, BSP_IO_LEVEL_LOW);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment