michielsweb
05-07-2015, 08:39 PM
Hi there all i am new to this forum. my name is michiel and i came up whit this daring idea throw the keyboard aside during flying.
then i came up whit this idea. and i feel like i might need a kick in the right direction.
is there anyone who could help me whit a little luascript?
the idea:
the idea is i want to use a rotary switch, to control my lcd screen. (so i can add several pages)
but i have no idea too read which poort is selected. and if its posseble :$ how to print to lcd whitin
(however i think this is something that i can find out.) if someone could tell me how to read out if a pin from one of my pokey cards is in action i would be realy gratefull
something like this ( in php)
function LCDdisplay() {
if ($joystick1['pin40'] == true) {
echo "nav radio page";
}
elseif ($joystick1['pin41'] == true) {
echo "com radio page";
}
elseif ($joystick1['pin42'] == true) {
echo "com radio page";
}
else {
echo "no screen selected"
}
}
so if someone want to help me on my way, i would be gratefull even if its just 1 letter on the way.
i try to learn from it.
then i came up whit this idea. and i feel like i might need a kick in the right direction.
is there anyone who could help me whit a little luascript?
the idea:
the idea is i want to use a rotary switch, to control my lcd screen. (so i can add several pages)
but i have no idea too read which poort is selected. and if its posseble :$ how to print to lcd whitin
(however i think this is something that i can find out.) if someone could tell me how to read out if a pin from one of my pokey cards is in action i would be realy gratefull
something like this ( in php)
function LCDdisplay() {
if ($joystick1['pin40'] == true) {
echo "nav radio page";
}
elseif ($joystick1['pin41'] == true) {
echo "com radio page";
}
elseif ($joystick1['pin42'] == true) {
echo "com radio page";
}
else {
echo "no screen selected"
}
}
so if someone want to help me on my way, i would be gratefull even if its just 1 letter on the way.
i try to learn from it.