gnupic: Help! How do i 'include' a module in GPAL?
Subject:
Help! How do i 'include' a module in GPAL?
From:
David McNab ####@####.####
Date:
24 Oct 2004 14:30:07 +0100
Message-Id: <417BAE55.9010401@rebirthing.co.nz>
Hi,
How do I import another module into a GPAL module?
For instance, the following 'hello world' program:
module helloleds is
pragma processor = "16f873a";
procedure main is
begin
p16f873a.TRISB = 0x00;
p16f873a.PORTB = 0xa5;
end procedure;
end module;
I've spent a couple of frustrating hours trying to figure out how to get
this thing to compile. No mention in the docs of how to import needed
modules and access their namespaces.
Please help
--
Cheers
David