Add digilines hello world
This commit is contained in:
parent
9c5f78020a
commit
ca1d38b07a
@ -19,7 +19,7 @@ TODO: Write one tutorial for each of these things, one into a separate page.
|
||||
<li>technic
|
||||
<li>trains
|
||||
<li>digtrons
|
||||
<li>digilines
|
||||
<li><a href="tutorials/digilines.html">digilines</a>
|
||||
<li>pipeworks
|
||||
</ul>
|
||||
|
||||
|
BIN
tutorials/digiline_digiline.png
Normal file
BIN
tutorials/digiline_digiline.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
tutorials/digiline_lcd.png
Normal file
BIN
tutorials/digiline_lcd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
tutorials/digiline_lua.png
Normal file
BIN
tutorials/digiline_lua.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
50
tutorials/digilines.html
Normal file
50
tutorials/digilines.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
</head>
|
||||
<script language=javascript src=../common.js></script>
|
||||
<script language=javascript>
|
||||
start_page("../"); //path to root direction
|
||||
</script>
|
||||
|
||||
<h1>Digilines</h1>
|
||||
A complete guide can be found at: <a href=http://mesecons.net/luacontroller/>http://mesecons.net/luacontroller</a><br>
|
||||
Some of the crafting recipes are different.
|
||||
|
||||
<h2>Hello World</h2>
|
||||
Bit lua programming knowledge is required.<br>
|
||||
<h3>Apparatus used</h3>
|
||||
<ol>
|
||||
<li>Lua controller
|
||||
<li>digiline cable
|
||||
<li>digiline LCD display.
|
||||
</ol>
|
||||
Crafting digiline:
|
||||
<script language=javascript>
|
||||
images = [
|
||||
{img:"digiline_lcd.png", txt:"Digiline LCD"},
|
||||
{img:"digiline_digiline.png", txt:"Digiline wire"},
|
||||
{img:"digiline_lua.png", txt:"Lua controller"},
|
||||
];
|
||||
galery(images, "200px");
|
||||
</script>
|
||||
|
||||
<h3>Steps to print hello world with Lua controller</h3>
|
||||
<ol>
|
||||
<li>before that place LCD and Lua contoller
|
||||
<li>right click the digiline LCD.
|
||||
<li>set the channel name say "tv". Click proceed
|
||||
<li>then connect the digiline LCD with lua controller
|
||||
<li>right click the Lua conttoller.
|
||||
<li>Type the following: <span class=alt>digiline_send("tv","Hello world")</span> <br>
|
||||
The format to print a string in digiline Display is :
|
||||
<span class=alt>digiline_send("<channelname>","<message>")</span>
|
||||
</pre>
|
||||
<li>click execute to run the code. There you go "Hello world" is printed on LCD
|
||||
</ol>
|
||||
|
||||
<script language=javascript>
|
||||
end_page();
|
||||
</script>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user