/* This file is part of the Simba project.  */
int main()
/* This file is part of the Simba project.  */
int main()
{
    struct hd44780_driver_t lcd;
    sys_start();
    hd44780_init(&lcd,
                 &pin_d2_dev,
                 &pin_d3_dev,
                 &pin_d4_dev,
                 &pin_d5_dev,
                 &pin_d6_dev,
                 &pin_d7_dev,
                 2,
                 16);
    hd44780_start(&lcd);
    hd44780_display(&lcd, "Welcome!\r\n");
    hd44780_cursor_show(&lcd);
    while (1) {
        hd44780_put(&lcd, chan_getc(sys_get_stdin()));
    }
    return (0);
}