forked from arduino/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 5
Quick_Start_Guide_Arduino_IDE_Ver2_Add_Boards_Manager
SuguruHarada64 edited this page Sep 7, 2023
·
3 revisions
-
https://www.arduino.cc/en/software
- Download the version of Arduino IDE that matches the type of PC you are using.
- The example below describes the procedure for “Windows Win 10 and newer, 64 bits”
- At the time this Quick Start Guide was created, operation had been confirmed with version “Arduino IDE 2.1.0”
- The example below describes the procedure for “Windows Win 10 and newer, 64 bits”
- Download the version of Arduino IDE that matches the type of PC you are using.
- Double-click the icon on the desktop to launch Arduino IDE.
- Select File → Preferences and specify the following for Additional Boards Manager URLs:
- Select Tools → Board → Boards Manager….
-
- In the text entry box, enter RL78 and perform a search, then click the Install button.
- In the text entry box, enter RL78 and perform a search, then click the Install button.
-
- The compiler, Arduino library for Fast Prototyping Board, and board programming tool are downloaded and installed in Arduino IDE.
- Select File → Sketch example → 01.Basics → Blink. The following code is printed.
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
-
Connect the PC to the RL78/G23-64p Fast Prototyping Board using a USB cable.
-
Use Device Manager to confirm which COM port number has been recognized.
-
Configure the COM port number setting in Arduino IDE.
-
Select the board in Arduino IDE.
- Select Tools → Boards → Select board to use.
- Select Tools → Boards → Select board to use.
- In Arduino IDE, select Sketch → Upload to compile and upload the sketch.
- When the upload completes, the sketch runs and the LED flashes at 1.0-second intervals.