Given the difference in ADC level configuration for the MPF-1P and MPF-1B, I decided to make these configurable. PicoRAM 6116 now reads the 6116.INI file on startup. The file specifies the machine type (MPF-1B or MPF-1P), ADC analog levels for the 5 buttons, 4 auto-load programs for the 4 banks which are loaded on startup, and one more flag (0 or 1) which can be used to debug / determine the voltage ADC levels for the analog buttons. If 1 is used, PicoRAM enters a "debugging loop" which constantly prints the ADC value on the display. The user can then press the buttons and note the values to be specified in the INI file for button configuration.
I am attaching two 6116.INI files to the files section of the project (one for the MPF-1B, one for the MPF-1P). These need to be renamed as 6116.INI.
This is the 6116.INI file for the MPF-1B - note that the file requires UNIX EOL (i.e., single LF EOL):
MPF-1B D00 C00 900 700 300 100 CLOCK.MPF DICE2.MPF COUNTER2.MPF EGGTIME.MPF 0
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.