-
Notifications
You must be signed in to change notification settings - Fork 0
/
write_program_en.html
99 lines (97 loc) · 4.92 KB
/
write_program_en.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="ja">
<head>
<title>プログラム書き込み - RBoardDocument</title>
<link rel="shortcut icon" href="./image/bug.ico">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-176702602-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-176702602-1');
</script>
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.11.0/css/all.css" rel="stylesheet">
</head>
<body>
<div id="header"><h1> PG書き込み </h1></div>
<div id="main">
language:<a href="./write_program_en.html">English</a>/<a href="./write_program.html">日本語</a><br>
Execute <a href="./ide_install_en.html">IDE install </a> as a preparation.<br>
<br>
<h2 class="txt-border"> Windows10 </h2>
<ol>
<li>Click "File -> New -> Project".</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/358d4af8-1d2d-bada-71ad-28cc6ab3d55f.png">
<li>Enter the project name and click "OK". (sample project name :『test』)</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/813921bc-d729-1fbe-c682-9168448dfc02.png">
<li>After right-clicking the created project folder, click "Add New...".</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/270d4fe4-45d0-41f9-dc4a-5eabf2b2d68d.png">
<li>After entering the name of the Ruby file to add, click "OK". (sample file name :『test.rb』)</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/783d4f52-a727-9dec-7470-e21a309f8bb8.png">
<li>Connect the board and PC using a USB cable.</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/fcee4b49-8d99-7b9e-3dc1-b0cfbe622210.png">
<li>After writing the program, click the "Write" button.(Start connection....)</li>
<li>Press the reset switch on the board.(labeled [RS])</li>
<li>「<span style="color:LightSeaGreen">The process "Write" exited normally.</span>」is displayed, it is completed.</li>
<img src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/195542/82d04005-70db-d4ad-c640-e3d7bd92665d.png" width="700">
</ol>
※If the program doesn't burn, something else is using the COM port. (terminal software, etc.)<br>
Try reinserting the USB.<br>
Alternatively, the COM port to write to may be different.(Check the port in "Build and Deploy -> Writer".)。<br>
<img src="https://user-images.githubusercontent.com/24926574/79931711-96e07d00-8486-11ea-8413-b82b60aeccbd.png">
</div>
<div id="submenu">
<div id="submenu_header">Index</div>
<ul id="submenu_body">
<i class="fas fa-home"></i><a href="./index.html">HOME</a>
<li><details>
<summary>program</summary>
<ul id="subuul">
<li><a href="./ide_install_en.html">mruby/c IDE setup</a></li>
<li><a href="./write_program_en.html">program writing</a></li>
<li><a href="./update.html">Firmware update</a></li>
<li><a href="./class.html">old board class</a></li>
<li><a href="./mrubyc_class_en.html">board class</a></li>
</ul>
</details></li>
<li><details>
<summary>board list</summary>
<ul id="subuul">
<li><a href="./board_list.html">board list</a></li>
</ul>
</details></li>
<li><details>
<summary>sensor sample program</summary>
<ul id="subuul">
<li><a href="./sensor_module.html">Compatible sensor module</a></li>
<li><a href="./adc.html">ADC sample</a></li>
<li><a href="./i2c.html">I2C sample</a></li>
<li><a href="./pwm.html">PWM sample</a></li>
<li><a href="./uart.html">UART sample</a></li>
<li><a href="./etc.html">others sample</a></li>
</ul>
</details></li>
<li><details>
<summary>others</summary>
<ul id="subuul">
<li><a href="./console_en.html">Terminal software settings</a></li>
</ul>
</details></li>
<li><details>
<summary>tutorial</summary>
<ol id="subuol">
<li><a href="./tutorial_mrubyc.html">What is mruby/c?</a></li>
<li><a href="./tutorial_led.html">control the LED</a></li>
<li><a href="./tutorial_rgb_led.html">full color LED</a></li>
<li><a href="./tutorial_reed_switch.html">door open/close sensor</a></li>
<li><a href="./tutorial_buzzer.html">Piezo Transducer</a></li>
<li><a href="./tutorial_cds.html">light sensor</a></li>
<li><a href="./tutorial_temp.html">temperature sensor</a></li>
</ol>
</details></li>
</ul>
</div>
</body>
</html>