Main topics:
| Download latest version for mP PRO 5.01 and newer (880kB, 02.07.2012) | Read more |
|
uGLCD library uGLCD is a rather extensive library optimised for PIC18 processors. It may work with different GLCD types with screen memory organised in horizontal 'pages' (8 pixels high), like those with KS107/8, ST7565R, or uC1701 controllers, to name only those it was tested with. Thanks to the ability to draw on virtual screen(s), the library may be used with write-only displays. Basic properties: - both text and graphics may be drawn anywhere on the screen, - ability to draw on virtual screen(s) placed in RAM, - 'packed' bitmap format implemented saving program space, - clipping rectangle for most graphical functions, - routines for copying whole, or part of the screen from GLCD to RAM and back, - routines for icon drawing (icons from RAM or ROM), inverting, and horizontal shifting, - both fixed-width and variable-width fonts of any size (created, for example with Octal's GLCD Font Creator) may be used, - increased speed performance over the standard lib, especially visible for higher clock frequencies, - hardware-dependent part is separate and may be modified to fit particular GLCD controller. |
| Read more |
|
mP PRO for PIC quirks The ones carried from previous versions (command-line compiler only): - results of runtime calculations may differ from compile-time ones - while evaluating in main a byte holding sbits declared in a unit optimiser may overlook changes applied to single bits - applying sfr modifier to a variable declared at GPR absolute address makes the linker believe it's indeed in SFR space, so it's real space is freed and may be taken by another variable - FSR registers are not saved in ISR unless used in assembly - modifying variables with the use of FSR registers may confuse optimiser - in some cases optimizer may fail to notice that part of a variable was changed using Hi, Lo, Higher, or Highest operators - calling RS485Master_Send routine with TFT lib checked in Library Manager leads to linker demanding declarations of the latter's sbitsFor ones specific to latest versions read more. |
| Read more |
|
Tips and tricks As time allows, I will be adding more mP tips. The ones collected so far: - internal representation of variables - storing/accessing variables - speeding up sequential memory access - reentrancy |
| Read more |
mP PRO forum |
Dany's website
(Lots of mP goodies!) |
Updated 02-05-2013 |
Top Copyright © 2011-2013 by janni