Forum Replies Created
-
AuthorPosts
-
JacekParticipant
This is awesome!
JacekParticipantHi,
There are two more comments:
#5 (update): to get the GFv1 code working debug mode has to be set as true:
const boolean debugMode = true;
– then the code fit to 94% of memory of Arduino
#7 if you use ledstrip soldered as a rows (end of the row is soldered with the begining of the next row) you’ll need to change getIndex functions as follows:
byte getIndex(byte x, byte y) { byte index; if (y == 0) { index = x; } else if (y % 2 != 0) { index = y * 16 + x; } else { index = (y * 16 ) + x; } return index; }
Regards!
JacekJacekParticipantHello there!
I just want to share I have compiled GFv1 with the latest Arduino IDE (1.8.13) using Leonardo board (clone). For now only “game” version is working. “Clock” firmware is to large for now (104% of memory) and has a RTC module issue to solve (I don’t have 1307 but 3231 only).
I’m sure I’ll write more details about my project (as you see on picture is still on breadboard) so now just for the record:
#1: I made my LED matrix based to Brainy Bits project (https://www.brainy-bits.com/) but leds strips are soldered from left to right (each row)
#2: GFv1 code pinouts are: 3 – status led; 4 – next button; 5 – setup button; 6 – LED strip; 9 – SD-CS. I’ve also use DS3231 RTC module (SCL, SDA pins)
#3: to make the code running with the latest SDFat Library you’ll need fix two lines:
from
myFile.getFilename(folder);
to
myFile.getName(folder, 13);
I’ve also changed buttons definition for programable pull-up:
pinMode(buttonNextPin, INPUT_PULLUP); pinMode(buttonSetupPin, INPUT_PULLUP);
instead of using external 10K rezistors for it.
#4: <<Game Frame SD FIles>> pack is neccesary to setup; you can guess what file names should it be and re-create most of it but don’t waste your time – just buy it from Jeremy store (BTW: it’s great set for the beginning)
#5: I have had to compile the code several times due the memory limit error. Just don’t ask why – I don’t know 🙂
#6: There are some issues to solve (eg. with setup mode) – be sure I’ll write another post here 😉
Best regards!
JacekAttachments:
You must be logged in to view attached files.JacekParticipantFirst of all I have few Arduino boards at home (Nano, Uno, Leonardo) and I feel more comfortable with it 🙂 I’ve found in the internet several projects with 16×16 led matrix and I’d like to try make my own. So it’s not just “to have” one but “to make” one 😉 Regadrs, Jacek
JacekParticipantI was not sure if these files works with GFv1 – that was one of my questions I asked 😉 You wrote:
The SD files are configured for the V2 version.
Please clarify – does they suits to GFv1, too?
BR, Jacek
JacekParticipantJeremy, is it possible you could share initial files for GFv1 project (00system and bitmaps – eg. game.bmp; firework, logo) ?
JacekParticipantThank you Jeremy for fast reply. Using Teensy would be a easiest way but at the moment I’d like to play with the Arduino. I hope I can do sth creative based on yours and other people projects.
To analyze FGv1 code I’m looking for the hardware specifications. I found topic from 2014 in Firmware modding section you wrote:
I have no plans to release the whole board spec, but maybe in the future.
but if the project is closed maybe you can share now more details about connections, modules and other hardware stuff you used. It would be useful.
Regards, Jacek
-
AuthorPosts