@ngmacha:
Did you ever figure this out?
Looking at your mapping table and at http://www.espruino.com/HD44780 it seems that:
RS = A0 (Espruino) = D2 (Maple)
EN = A1 (Espruino) = D3 (Maple)
So with that the constructor would have to be:
var lcd = require("HD44780").connect(D2,D3,D15,D16,D17,D18);
(Also, I am not sure if you just could use the Espruino pin names directly or if the Maple build remaps those to the Maple pin names - I assume so since you probably thought of that already).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@ngmacha:
Did you ever figure this out?
Looking at your mapping table and at http://www.espruino.com/HD44780 it seems that:
RS = A0 (Espruino) = D2 (Maple)
EN = A1 (Espruino) = D3 (Maple)
So with that the constructor would have to be:
var lcd = require("HD44780").connect(D2,D3,D15,D16,D17,D18);
(Also, I am not sure if you just could use the Espruino pin names directly or if the Maple build remaps those to the Maple pin names - I assume so since you probably thought of that already).
Regards,
Mike