I am interested in Flowcode. I have a version 2 development board and would like to connect up an I2C device ( Ultrasound range finder ). I was expecting to connect to a port with pull up resistors and have to bang the bits in assembler. What is the situation with Flowcode? Can I use flowcode and a version 2 board or do I need a new programmer
Thanks
Flowcode & I2C
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
Flowcode & I2C
What about attaching the I2C device. In order to use the I2C facilities of Flowcode. Do I have to add the I2C device to a certain Port, Pins and add pullup resitors etc.
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
The latest version of Flowcode v3.2.0 (very shortly to become v3.2.1) contains a "master" I2C component which can be used to control slave I2C devices. This component can either use the internal MSSP module of the PIC, or implement I2C in a bit-bang approach. The bit-bang approach allows you to use any pins.
You will need to provide the appropriate pull-ups.
You will need to provide the appropriate pull-ups.
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
Flowcode & I2C
Am I correct in assuming that to use the I2C support I would need the professional version of Flowcode and that it would not be available in the student edition.
Thanks
Thanks