-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile with current Arduino IDE and library versions #2
Comments
Hi. Can you describe the version of the IDE you used? That project is kinda old and I am now using Visual Studio plus an Arduino plugin. Arduino IDE and libraries are not as simple as they should be because they are constantly evolving. I'll try with the most recent IDE and libraries. |
Also can you tell me what the devices you want to use with Arduino MEGA? |
I committed last change. Try it with Arduino IDE 1.8.5 and the libraries as listed in pictures. |
Hi. Thanks a lot for this fast reply! I was able to compile it with the versions you specified, although I had to remove the Uploading it to the Arduino Mega 2560 worked as well. I plan to use it with the the OLED screen, IR remote, and SD Card reader specified in the readme. At a later stage I I might also add a relay module to be able to trigger the reset of the MZ80k via remote. |
Good to hear! I forgot to remove that file so it is okay to proceed this way. Regarding IR remote, pay attention to their keycodes, they may vary if you don't take the one I took or you will need to modify them in the code because they are not standard unhopefully. I once tried that player on my MZ-80 K and had to play twice to make sure MZ-80 K loads unlike MZ-700. It may be an issue with terminating a header block to let it start the data block. A second play will skip the header block to start the data block. By playing I mean only launching from MEGA while MZ-80 K is still trying to load (no break). I didn't try to investigate further because I had more priority elsewhere and it was for testing faulty DRAM and replacing them. |
As a fact MZ-80 K and MZ-80 A outputs MOTOR signal as 12V, not 5V which is not good for the Arduino MEGA. So we need a shift level for it, using a LM7805 for instance. |
MOTOR is a pulsed signal, and LM7805 are more for power AFAIK. Maybe a voltage divider would be better suited? https://forum.arduino.cc/t/12v-signal-to-5v-with-lm7805/324733 |
MOTOR is not just a pulse signal, it powers MZ 80 K and MZ 80 A dataset with 12V (yep, that's why it is called MOTOR and not REMOTE). As for MZ-700 and MZ-800, it also powers their dataset but with 5V. But in our case, a voltage divider can be used since we don't need to power our MEGA through MOTOR signal. |
Hi
I just finished recapping my MZ80k and tried to load this awesome project onto an Arduino. I get all kinds of errors in the current Arduino IDE when I try to compile it. I then tried with downgrading the IDE and also the libraries, but the list of strange errors just changes. I am not able to update/fix the code myself. Can you provide some info which IDE and library versions to use, or even a fix in the code? Thanks a lot in advance
The text was updated successfully, but these errors were encountered: