interresting ;)
for your Y axis:
//////// show WAVE-FORM - S C O P E ////////
MUTEX_LCD_TAKE; MIOS32_LCD_DeviceSet(14);
APP_LCD_GCursorSet(H,(63-V)); // (h, v) set insert Position for Bitmap
APP_LCD_Data(0x80 >> ((63-V) % 8));
MUTEX_LCD_GIVE;
Where 0 <= V < 64
I do not see it documented anywhere for the stm32f4. I believe you are going to have to define it.
have you tried this in mios studio console:
testlcdpin e3 1 -> sets E3 to ca. 3.3V set this first so you get voltage
testlcdpin e3 0 -> sets E3 to ca. 0V Set this to toggle the pin voltage off to verify your pin
This should be working on the E1 and E2 pins for sanity check on J15.
You should be able to look around with your meter for what pin is being enabled and disabled if it is configured already.
I believe it is not and you will need to configure it in the code and compile for the additional functionality you are after.
If you look in the SVN at:
/trunk/mios32/stm32f4xx/mios32_board.c
http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fmios32%2FSTM32F4xx%2Fmios32_board.c
I think you will find what you need to update there. It looks as E 3 and E 4 is not set there. You just need to determine your pin assignments and set them. Someone a little more familiar may be able to say if you need to set something anywhere else as well. I believe you will have to also add in E 5 and E 6 since you want 6 displays but that is just adding the additional lines of code for the enable lines. Not sure if you will need to make those changes anywhere else in the code as well. There is still the question of if you need to shift the voltage from 3.3 to 5 volts as well. once you have the pins you want working you will know better if you need to do that once you have enable lines working. A 74hct08 or 74hct245 may be better than a 595 since you are only looking at a 4 additional displays you should not have to multiplex the enable lines via a 595. There are plenty of available pins you can use for enable lines already. You could use a small transistor as well for the voltage conversion but the ic is likely to do a better job and take up less space. Transistor my be viable while you are testing things to get that first display working.
I am a beginner on the programming so can not help you much more there.