Wireless Arduino Shooting GameView Instructable »
You can use that one, just use the lcd.print("Hello, world!"); to print to the lcd.First you need to add that library in top of the code:#include <Wire.h> #include <LiquidCrystal_I2C.h>Then in setup add:lcd.init();Then to print to screen write:lcd.backlight(); //This if you want the backlight on the display. lcd.print("Write text here");And if you need an variable to be printed out for example:int ExampleVariable = 212;Then write like this:lcd.print(ExampleVariable);Hope i helped you good.Best regardsAndreas
hi there.Check with the markers of your serial lcd on how you write to i.There is different on different serial lcd. Or switch to an normal lcd and use normal (lcd.print("text")).Sins you use mega you can use an normal lcd.
Hi, you can run with 12v because Arduino can handle 12v. i use 9v so i can run on battery.
Hi i have updated my game sins i post this here, upgraded to an mega to, and i have added an terminal printer to print the results, also upgraded to a bigger lcd, and added an sd card reader to store highscore. Your project with more leds sounds fun. Im still working on the wireless, i have made some prototype boards with the sensors and the nrf24l01 but still working on code. I took a little break but im going to start working again with it.
Hi, no its a Serial LCD goggle on it, and you will find on eBay.
Check the instruction for that serial lcd on how to print text, there is different ways for different models. I used a china serial lcd.
Hi is it an Serial Lcd or an normal Lcd ?
Hi, you need a Serial Lcd. A normal LCD don't work becouse they can't handle serial comunication. An Serial lcd has an extra chip on them so they can work with serial comunication.
On the sketch i used an normal lcd becouse i didn't find any serial lcd in the software. The serial lcd has built in pot for the display and only have 4 connections. (5v gnd rx tx)
Arduino Shooting Target Game