In the includes there exists ssp.h. In this file there are instructions for I2C as well, but I cannot find relevant keywords in the list of gcbasic commands.
Anybody to help me ?
Arie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are header files and examples in the Contributors section of both software and hardware I2C. Be sure to note, if using the hardware I2C, the initialization part pertaining to 18F devices:
In the includes there exists ssp.h. In this file there are instructions for I2C as well, but I cannot find relevant keywords in the list of gcbasic commands.
Anybody to help me ?
Arie
Perhaps you can try in online help: http://gcbasic.sourceforge.net/help/
There are header files and examples in the Contributors section of both software and hardware I2C. Be sure to note, if using the hardware I2C, the initialization part pertaining to 18F devices:
;SSPCON = b'00101000'
SSPCON1 = b'00101000' '18f needs SSPCON1