- or download this
void
lcdCharDef(fd, index, data)
...
lcdPutchar(fd, data)
int fd
unsigned char data
- or download this
extern void lcdCharDef(const int fd, int index, unsigned char data [8]
+);
extern void lcdPutchar(const int fd, unsigned char data);
- or download this
sub lcd_char_def {
shift if @_ == 4;
...
my ($fd, $data) = @_;
lcdPutchar($fd, $data);
}
- or download this
#include <stdio.h>
...
return 0;
}
- or download this
use warnings;
use strict;
...
lcd_put_char($fd, 2);
sleep 1;