zuisti
Advanced Member level 1
- Joined
- Jul 2, 2004
- Messages
- 479
- Helped
- 188
- Reputation
- 376
- Reaction score
- 183
- Trophy points
- 1,323
- Location
- Hungary
- Activity points
- 3,319
.... changing the font of the matrix.
.... adjust the codes for 12MHZ of Quartz.
Extract and open my original project in the "MikroC PRO for PIC" IDE with a double click on the mccpi file.
Note the free demo (2k) version is also enough ...
Comment out the line 10 in the source, so:
//#define BOLD //if defined, my bold characters are used
Modify the msg in the line 47 as you want (trailing spaces work as separator while scrolling):
const char MsgArray[] = "Welcome from Hungary ............... ";
If your msg is a one line str (as above), do not forget to comment out the other str lines (line 48 to 56).
Go to the "Project Settings" window in IDE (see help) then modify the Frequency to 12.000000 MHz (now 16 M)
Recompile the project, if success then you can re-burn the PIC with the new hex file (the config word is the same)
When you want to try it also in Proteus, open the DSN then modify the PIC property to 12 MHz clock.
Thats all.
zuisti
PS:
Otherwise, it works well? What was the problem?
A golden rule: have to apply a ceramic 100 nF on each IC gnd-vcc pins