Written in asm and the macro works Steve... -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Peter McNulty Sent: 09 December 2002 06:18 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [EE]: LCD Initialization and Usage Sequence? What language is that coded in? ----- Original Message ----- From: "Steve Smith" To: Sent: Monday, December 09, 2002 6:12 AM Subject: Re: [EE]: LCD Initialization and Usage Sequence? > Attached various timer functions the delay macro by robin abbot (I > think) was published in EPE ages agoand it works > > Regardz Steve > > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of James Newton, webhost > Sent: 08 December 2002 17:27 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [EE]: LCD Initialization and Usage Sequence? > > > source= > http://www.piclist.com/postbot.asp?id=piclist\2002\12\05\225509a > > For code clarity with reduced lines of code, > > nopx2 MACRO > goto $+1 > ENDM > > People don't use macros enough IM(NS)HO. Actually it should be > possible to make a macro called "delay" that accepts parameters of a > number and a unit, (e.g. delay 2, usec) that will generate code for > any delay and automatically compensate for different chips and speeds. > > I wrote one for SASM and SX-Key for the SX processors. > > --- > James Newton: PICList.com webmaster, former Admin #3 > mailto:jamesnewton@piclist.com 1-619-652-0593 phone > http://www.piclist.com/member/JMN-EFP-786 > PIC/PICList FAQ: http://www.piclist.com > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body