----- Original Message ----- From: liam . To: Sent: Monday, January 24, 2005 10:31 AM Subject: Re: [PIC] I2C and Compiler. > On Mon, 24 Jan 2005 10:25:13 +0100 (MET), Jan-Erik Soderholm > wrote: > > liam wrote : > > > > > I am a student and planning a project which will envolve using the PIC > > > 16F628 and some I2C slaves. > > > > > My main reason for not using ASM is although I have managed to use it > in the past was, I am more comfortable using higher level languages. > But I would perfer to use some of the more advanced program flow > aspects of languages like C over Basic. What do you meen by "more advanced program flow" ? Do you meen structure as in compound statements, user defined functions, switch statements... Or do you meen the ability to call functions indirectly using function pointers? XCSB is a structured BASIC which supports structured programming. It also has I2C libraries which you can use on PICs without I2C hardware. http://www.xcprod.com/titan/XCSB-DOC/I2C/main.html http://www.xcprod.com/titan/XCSB-DOC/I2C_24LC65/main.html The source of the libraries is written in XCSB (the compiler generates very fast optimised native machine code so there is no need to resort to assembler for these functions), and the source code is distributed as part of the standard compiler. Regards Sergio Masci http://www.xcprod.com/titan/XCSB - optimising PIC compiler Free for personal non-commercial use -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist