----- Original Message ----- From: Timothy Box To: Sent: Friday, February 21, 2003 8:16 PM Subject: Re: [PIC] Crownhill Pic Basic Plus?. > I to looked with interest. But cannot see any high level stuff i2c LCD > control etc. Is it there? > > > Tim Hi Tim, XCSB does not CURRENTLY have any built-in high level I2C LCD support. HOWEVER adding this functionality is trivial, it does not require a major overhaul of the compiler. It is possible to take assembler fragments readily available elsewhere on the net and wrap them in an XCSB user function and use them as though they were built into the language. I am not suggesting that the responsibility of providing such functions falls to the end user BUT that it is trivial compared to producing the underlying compiler and that I will get around to it as soon as time permits. In the mean time you should be aware of the underlying simplicity of adding your own extensions. To wrap a fragment of assembler in an XCSB user function, it is as simple as: proc byte FRED(byte arg1, byte arg2) // assembler fragment to add to bytes and return a result asm_start movf arg1_FRED_func_arg,w addwf arg2_FRED_func_arg,w movwf result_FRED_func asm_end endproc then you could use the function in any expression e.g. A = FRED(2, K) + 3 Regards Sergio Masci -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads