llandolt / parola-for-arduino

Automatically exported from code.google.com/p/parola-for-arduino
0 stars 0 forks source link

Hardware rotated 90 degrees Counter Clockwise #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am testing the Parola Library which seems to be very complete and optimized, 
but I ave run into a simple problem. When running the library all the text and 
images appear rotated 90 degrees counter clockwise.

What would be the easiest way to turn the display 90 Clockwise? does it need to 
be done at the MD_MAX72xx level?

Thanks a million

Original issue reported on code.google.com by benq...@gmail.com on 25 Jul 2013 at 8:17

GoogleCodeExporter commented 8 years ago
Are you using the hardware designed for Parola or another type of hardware?

If you are using other hardware you should rotate the font file characters in 
the look up table. There is a helper function to modify as I had to do this 
before. If you can't work it out come back to me.

Original comment by 8136...@gmail.com on 30 Jul 2013 at 11:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by 8136...@gmail.com on 20 Aug 2013 at 9:19

GoogleCodeExporter commented 8 years ago
I am running into a similar 'problem' using this hardware: 
http://dx.com/p/max7219-dot-matrix-module-w-5-dupont-lines-184854.
The characters that this HW displays are rotated 90 degrees CCW and mirrored. 
Where is your helper file?
How to rotate 90 degrees CW and mirror?

Original comment by mghm.de....@gmail.com on 21 Oct 2013 at 9:11

GoogleCodeExporter commented 8 years ago
Found your helper MD_MAX72xx.h and the connections from the 7219 to a 8x8 
common anode. I'm using 8x8 common cathode. That's why the characters are 90 
degrees ccw and mirrored I guess. Please indicate what code to change and 
where. Thanks in advance. Nice project. My son would like to use it for his 
final project in his electronics education.

Original comment by mghm.de....@gmail.com on 21 Oct 2013 at 9:33

GoogleCodeExporter commented 8 years ago
At this stage the pArola hardware is needed to use the library. IF you want to 
run it on different hardware then you will need to work it out, I am afraid. 
One place to start may be with may be the font files in the base 72XX library. 
The characetsr can be rotated to solve the 'back to front' issue. The 90ccw is 
a matter of mapping the row to the column coordinates and vice versa. You may 
find then that the scrolling will not work properly as you have just swapped 
left for up and right for down (or something like that). Not a trivial task you 
are asking.

Original comment by 8136...@gmail.com on 22 Oct 2013 at 3:49

GoogleCodeExporter commented 8 years ago
I have reworked the MD_MAX72xx library so that it can be used with the more 
generic hardware modules that are available from many sources. Please obtain 
the new base library and adapt the compile time switch USE_PAROLA_HARDWARE as 
per the documentation file that comes with the library.

Original comment by 8136...@gmail.com on 5 Nov 2013 at 7:33

GoogleCodeExporter commented 8 years ago
Thank you for all your trouble! I will play with the new code possibilities
and let you know how I get on. I have ordered the common anode matrices to
probably solve the mirrored font. Will have to wait until they arrive.

Original comment by mghm.de....@gmail.com on 5 Nov 2013 at 9:08

GoogleCodeExporter commented 8 years ago
This update works like a charm! When using the 'generic' hardware from Deal 
Extreme (common cathode) the font can now ne flipped and rotated. Setting the 
'switches USE_PAROLA_HW and USE_FONT_ADJUST in the header file is easy.
Thanks again!

Original comment by mghm.de....@gmail.com on 10 Nov 2013 at 11:17