Anonymous user
Hello world/Text: Difference between revisions
→Recent update to the still evolving Hopper system and style hinted at by language author
imported>Yorecode (First Hopper sample, hello on an MCU is blinkenlights and message on a serial monitor) |
imported>Yorecode |
||
Line 2,103:
<syntaxhighlight lang="csharp">program Hello
{
Hopper()
▲ uses "/Source/System/MCU"
{
WriteLn("Hello world!");
{
LED =
Delay(500);
}
Line 2,123 ⟶ 2,120:
<pre>!> hello
Hello world!
</pre>
The language and runtime install verification message shows up on the monitor console. In keeping with most MCU introductions, the onboard Light Emitting Diode (LED) will then blink on and off at 1/2 second intervals, forever; ''(until power runs out, or explicit operator intervention)''.
=={{header|HPPPL}}==
|