PDA

View Full Version : Just after boot ?



richaj45
09-14-2007, 07:19 AM
I have not programmed a propeller yet so consider my lack of experience.

After boot up the four pins used for the process, serial and i2c, are no longer driven by the boot code?

If correct then i have to have a method to run the serial port and the i2c port in my application (object?) to take over those pins if i want those function which i do?

If correct is there an object that handles both that i can past into my application so all works after boot as before boot?

cheers,
rich

Paul Baker
09-14-2007, 10:56 AM
Rich, you are correct that the 4 pins are freed up after boot. There is not a single object to handle both, but the FullDuplexSerial object will provide the serial functionality and basic I2C object (availible in the object exchange) will provide the i2c functionality.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)