So, I'm realy new to arduino, and my project is making a mini robot that does quizes. I'm trying to program it, but I'm stuck.
I'm using an arduino due, 2.4'' tft mcufriend ILI9325 tft shield, 4x4 keypad and an SD Module.
The main problem (aside from not knowing java very well, only delphi and pascal) is that, when I try an example from the library I use, everything Works, but when i change it a little the code compiles and uploads to the board, but nothing Works. I asume It's my lack of programming knowledg.
Here's what my robot is ment to do:
- I have 15 txt files on my SD card, in each there is a question and 4 answers.
- (I planed on using 'for') It shows a question on the screen. Note that every question has it's own pre-defined correct answer, exp: For the 1 first question the correct answer is always c, for the second always D, for the third always B ... etc
- The user uses the 4x4 Keypad to awsner. If he awnsers correct, show next queston on screen, if not, show the correct awnser then next question. Count the correct and incorect awsners and show them on the screen at the end of the quiz.
For the screen I'm using the Adafruit_GFX library in combination with MCUFRIEND_kbv library, for the SD module I'm using the SD-master library.
I could do this code in delphi, but I'm having dificulties with arduino.
Any help, sugestion, advice, will be very, very helpful.
This is a project for a competition for a scholarship, so It's very important to me. Thank you in advance.