# r0ket

### Site Tools

l0dable

This is an old revision of the document!

### l0dable documentation

This page documents to how to write a l0dable. depending on the font you are seeing this looks like “I/O dables” but meant is “loadable”. these are small software components (in opposite to m0duls which are hardare components) that can easily copied to the r0ket. Once you are done with you l0dable please mention it in l0dables.

Set up build environment as described in build

```cd firmware/l0dable/
vi applications/hello.c```
```#include <sysinit.h>
#include "basic/basic.h"
#include "lcd/render.h"
void main_hello(void) {
DoString(10,20,"Hello World");
lcdDisplay();
while (1) {}
}```
```== Compiling the l0dable for the r0ket ==
make hello.c0d```

Select usb_storage on your r0ket, and copy hello.c0d on the usb device.

##### running in the simulat0r
```cd simulat0r
make APP=l0dable LAPP=hello
gui/build/qsimulat0r```