I have just posted two revised drivers and new Help File. If you download the demonstration code you may need the Help File.
LCD.H - this is an improved version of the driver release in December 2014. Bill Roth has added more functionality and resolved some issues. I have also added LCD support for I2C. Two new modes of LCD_10 and LCD_12. These new options provide two wire connection of I2C - either hardware or software. Thank you Jim Nordquist for the test devices. The latest Help File (the release candidate Help File the planned released) is require explain the usage. Testing was led by Theo Loermans - he did a great job. See the links to the example code which a number of you have improved.
HWI2C.H - this contains new functionality. New support for Hardware I2C for AVR. This supports the same command set as the PIC so you can move between PIC and AVR with ease - this is the core functionality that we need to support Great Cow Graphical Basic. Jacques Erdemaal has really helped to get this job done this week - he has provided and is credited for the scripts and in ensuring code optimisation. Testing was again led by Theo. As a number of you have asked for the code so I am posting.
Help File - Latest help file is here. This is NOT the same as the website. I will update that when we ship the new release, very soon. Theo was a super star in editing sections of this new Help File. Thank you.
I have just posted two revised drivers and new Help File. If you download the demonstration code you may need the Help File.
LCD.H - this is an improved version of the driver release in December 2014. Bill Roth has added more functionality and resolved some issues. I have also added LCD support for I2C. Two new modes of LCD_10 and LCD_12. These new options provide two wire connection of I2C - either hardware or software. Thank you Jim Nordquist for the test devices. The latest Help File (the release candidate Help File the planned released) is require explain the usage. Testing was led by Theo Loermans - he did a great job. See the links to the example code which a number of you have improved.
HWI2C.H - this contains new functionality. New support for Hardware I2C for AVR. This supports the same command set as the PIC so you can move between PIC and AVR with ease - this is the core functionality that we need to support Great Cow Graphical Basic. Jacques Erdemaal has really helped to get this job done this week - he has provided and is credited for the scripts and in ensuring code optimisation. Testing was again led by Theo. As a number of you have asked for the code so I am posting.
Help File - Latest help file is here. This is NOT the same as the website. I will update that when we ship the new release, very soon. Theo was a super star in editing sections of this new Help File. Thank you.
Enjoy these support files.
Anobium
LCD.H: http://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/lowlevel/lcd.h
EXAMPLE CODE FOR LCD: here
HWI2C.H: http://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/lowlevel/hwi2c.h
Help File: http://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/gcbasic.chm
And before someone asks 'Why Can I Not View .chm Help Files?' .....
see http://digital.ni.com/public.nsf/allkb/B59D2B24D624B823862575FC0056F3D0 to resolve the issue.
(Hugh told me this!!)
Thought I would share.
:-)
Hi
I'm testing the HI2C but it does not work, we need a new version of gcb.exe? I'm using one of 2/21/2015.
Marco
Thank you for testing.
Error message is?
Does software i2c work?
Chip?
Can you post your code and .h files as a zip.
Anobium