odroid_go:micropython:02_hello_world

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
odroid_go:micropython:02_hello_world [2018/07/13 12:07]
joshua [Hello World]
odroid_go:micropython:02_hello_world [2018/07/23 14:05] (current)
joshua ↷ Links adapted because of a move operation
Line 7: Line 7:
  
 ===== MicroPython for ODROID-GO ===== ===== MicroPython for ODROID-GO =====
-We're providing a module for MicroPython development: **odroid_go.py**.\\ +We're providing a module for [[odroid_go:micropython:MicroPython]] development: **odroid_go.py**.\\ 
 The module helps you **to control the components** on the board such as LCD, a lot of buttons, speaker, etc.\\  The module helps you **to control the components** on the board such as LCD, a lot of buttons, speaker, etc.\\ 
 This module should be included first.\\  This module should be included first.\\ 
Line 59: Line 59:
 After then, save and overwrite this code file as **boot.py** in the **ODROID-GO module installation directory**.\\  After then, save and overwrite this code file as **boot.py** in the **ODROID-GO module installation directory**.\\ 
 ===== Upload a module ===== ===== Upload a module =====
-To execute this module properly, you've done that uploading ODROID-GO module and you have to upload the written file called **boot.py** using **rshell** or **ampy**.\\  +<WRAP help round> 
-If you upload properly, MicroPython will execute **boot.py** when the device boots automatically.\\  +  * To execute this module properly, make sure you've uploaded ODROID-GO module. And you have to upload the written file called **boot.py** using **rshell** or **ampy**. 
-Please refer to setup guide to further information: [[01_micropython_setup#install_the_odroid-go_micropython_module|Install the ODROID-GO MicroPython module]].\\ +    If you uploaded properly, [[odroid_go:micropython:MicroPython]] will execute **boot.py** when the device boots automatically. 
 +    Please refer to setup guide to further information: [[01_micropython_setup#install_the_odroid-go_micropython_module|Install the ODROID-GO MicroPython module]]
 +    * Or you also can do them in **REPL**. Write the codes line by line in order. 
 +</WRAP> 
 +Upload the **boot.py** file using **rshell** or **ampy**, enter to **REPL** prompt, and **restart** ODROID-GO.\\ 
  
-Upload the **boot.py** file using **rshell** or **ampy**, enter **REPL** prompt, and **restart** ODROID-GO.\\  
 If the procedure goes well, you can see **"Hello, ODROID-GO"** on your device.\\  If the procedure goes well, you can see **"Hello, ODROID-GO"** on your device.\\ 
 {{:accessory:odroid_go:hello.jpg?200|}}\\  {{:accessory:odroid_go:hello.jpg?200|}}\\ 
  
 ===== A completed example ===== ===== A completed example =====
-The complete example is available as follows:\\ +The complete example is available in following path:\\  
 +  * odroid_go/examples/hello_world/hello_world.py 
 +Copy and paste to try the example.\\ 
  • odroid_go/micropython/02_hello_world.1531451260.txt.gz
  • Last modified: 2018/07/13 12:07
  • by joshua