-
-
Save varofla/7867ada08db70190413d2a070330acc1 to your computer and use it in GitHub Desktop.
How to use Arduino UNO R4 MINIMA's LOVE Pin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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