#Library
Imports the functionality of a external library to the project.
Syntax:
- #library „Filepath“
See also: Compiler Sequence
Example
const F_CPU = 8000000 avr.device = atmega328p avr.clock = F_CPU avr.stack = 84 #library "Library/TaskTimer.Interface" #define LED1 as PortD.5 #define LED2 as PortD.6 LED1.mode = output,low LED2.mode = output,high TaskTimer.Init(Timer1,2,500) '2 Tasks, 500 ms TaskTimer.Task(0) = mytask0().Addr TaskTimer.Task(1) = mytask1().Addr avr.Interrupts.Enable do loop procedure mytask0() LED1.Toggle endproc procedure mytask1() LED2.Toggle endproc