Disable standard library

General discussion on mikroPascal for AVR.
Post Reply
Author
Message
spinnumber
Posts: 60
Joined: 22 Dec 2005 12:16
Location: France (33)

Disable standard library

#1 Post by spinnumber » 23 Dec 2005 12:06

Is there a way to disable standard library?
I want replace Lcd_cmd standard procedure by my Lcd_cmd procedure
in my unit LCD4
Claude

vanja
mikroElektronika team
Posts: 253
Joined: 27 Jan 2005 15:13
Contact:

#2 Post by vanja » 23 Dec 2005 12:34

For specific chip you have a file that load uses for you.

Ex: for ATmega16 you have ..\defs\ATmega16def.apas

in that file you can put you own libs or remove existing.

I suggest you to make you own lib, put name in ATmegaxxxxdef.apas file, but don’t use same names for functions and units.

ps. we forgot to remove a delay from lcd_cmd function, so its last little longer than it has to be.

Post Reply

Return to “mikroPascal for AVR General”