Hello Guys,
this is my second project with the Cerberus Starter Kit (btw. i startet programming in C# 2 days ago).
i wrote that Code just for fun so… , if you want you can try it out
If you get some bug issues just post them and i’ll fix them.
You need:
GHI Mainboard
Joystick
led7r
Instructions:
Once you compiled the Code you take the Joystick and push it upwards for calculating with “+”,
downwards for “-”, right for “*” and left for “/”.
you’ll need to hold it till you push once. Then you can pull the Joystick left or right for the first number you want to calculate with, after that push it again. Then you can choose the second number again with left and right and press it once more then you’ll get the solution. You can reset with pushing the button on the joystick
PS: you can also see on the led7r that when you choose your number the light above is going to light up when you increase it and when you decrease the other light will show up
Now finally figured out how to display the solution on the LED, you can check out how it works in the sources changes.
I will also will try to make it completely independent from the Pc, so you don’t need to have the debug monitor.
I have an question: Is there any possibility that if something didn’t check out that it will be rebooting the cerberus ?
Hello Guys i have a little problem and i cant get it to work, so sometimes it doesn’t recognizes the joystick position.
There is normally the getjoystick method, but for demonstration purposes, i’ll go with these 2 numbers.
I push the button and i get the first Debug.Print with the numbers, but it dont gets through the if query. Do you guys have an idea.