Is there some sort of library you need to include? The PWM functions might be in a separate library so they don't waste code space if not in use. On 5/15/05, Jan-Erik Soderholm wrote: > William "Chops" Westfield wrote : > > > On May 15, 2005, at 1:23 PM, Jan-Erik Soderholm wrote: > > > That is, the PWM functions calls like PWM_Init doesn't work. > > > > > I guess that is something mikroElektronika has to add, right ? > > > And that there is nothing I (as a simple "user") can do about it ? > > > > > I would hope not. IMO, a REQUIREMENT of any embedded compiler is that > > it able to have enough RAW access to memory and peripheral devices in > > the target for the user to write (or re-write) any needed library > > functions for dealing with the features of the chip. Time for: > > > > (* PWM library doesn't work on 12F683; here's a replacement *) > > procedure my_PWM_Init(...)' > > begin > > (* manipulate raw bits *) > > end > > Yes, you are right, of course. > >From my first few hours of browsning around, I havn't found > any (obviouse) way of building anything that doesn't start > with the "program" directive. That is, I was looking for a way to > separately build a file with ony a "unit" in it. Maybe the full > (non-demo) version has more build options... > > > > (Traditionally, this would be a weakness of pascal (compared to C.) > > It's harder in Pascal to allow "raw" access to things while > > remaining within the spirit of the language...) > > Maybe so. > The sole reason I'm looking at this now, is that I have a > possible assignment comming where the "other guy" is > an long time user of the Borland Pascal based tools (forgot > the name right now, but they are well known...), and he > has been looking at mikroPascal as a tool for this PIC > based project also. If I'd like to be a part of that, I'd guess > I have to check it out. I *have* used Pascal before, but that > was on RSX-11/M on a PDP-11/84 in the early 80's... :-) > > Jan-Erik. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist