Page 1 of 2
Overview about all I²C functions and procedures?
Posted: 06 Oct 2010, 18:37
by HaWe
hi,
unfortunately I don't manage to get the information I require from the NXC help - I can not cope with the Help function or the Guide or the Tutorial at all. The structure of the information is too poor.
I tried to find a chapter about all I²C commands and all related information, but searching for the keyword "LowSpeed" or "I²C" I don't get ANY useful information.
Can anybody help me please?
Re: Overview about all I²C functions and procedures?
Posted: 06 Oct 2010, 19:39
by fuzzball27
Try John Hanson's Power Programming book or the Extreme NXT book. Both of these cover advanced programming very well.
Re: Overview about all I²C functions and procedures?
Posted: 06 Oct 2010, 20:15
by HaWe
no, I mean in the NXC Help, Guide, or Tutorial
Re: Overview about all I²C functions and procedures?
Posted: 06 Oct 2010, 22:12
by schodet
Re: Overview about all I²C functions and procedures?
Posted: 06 Oct 2010, 22:50
by afanofosc
I don't know, Nicolas, I don't see ANY useful information on that page! The structure of the information is too poor.
This is really hard to do but I double clicked on the NXC.chm help file that comes with BricxCC and typed "i2c" into the Search field and pressed enter. See what I got:
- i2c.jpg (72.15 KiB) Viewed 14370 times
A number of I2C functions are under the HiTechniic and Mindsensors API sections, though they are not generic I2C functions.
If you would like to enrich the paucity of the NXC docs you are welcome to constructively contribute.
John Hansen
Re: Overview about all I²C functions and procedures?
Posted: 07 Oct 2010, 06:31
by HaWe
ok, I typed "I²C" into the search function of the help, the guide, and the tutorial,
and I couldn't find a chapter in the contents which was named like that.
Re: Overview about all I²C functions and procedures?
Posted: 07 Oct 2010, 15:32
by afanofosc
doc-helmut wrote:ok, I typed "I²C" into the search function of the help, the guide, and the tutorial,
and I couldn't find a chapter in the contents which was named like that.
I don't know whether you are saying that the help, guide, and tutorial need a chapter called "I²C" or whether you are saying that you could not reproduce the search results that I posted above. I hope you aren't using a special ASCII character for the number 2. Did you try double clicking on nxc.chm and typing i2c into the search box and press enter? As you should know, the NXT firmware has a module called LowSpeed which implements all of the I2C support in the firmware. You could try searching for "lowspeed" or "low speed" in the nxc.chm file and see what comes up.
In the NXC_Guide.pdf you can expand the tree on the left at the Module Documentation folder and see the Low Speed Module link.
- lowspeed.jpg (93.96 KiB) Viewed 14352 times
You can also search the PDF using Acrobat Reader for "i2c" or "lowspeed" or "low speed" and find lots of information - poorly structured by some opinions.
John Hansen
Re: Overview about all I²C functions and procedures?
Posted: 07 Oct 2010, 16:13
by HaWe
As you should know, the NXT firmware has a module called LowSpeed
blame on me, no, I didn't know that so far
Re: Overview about all I²C functions and procedures?
Posted: 07 Oct 2010, 17:07
by schodet
afanofosc wrote:I don't know, Nicolas, I don't see ANY useful information on that page!
I do not understand what you mean, it is your doxygen generated page on bricxcc site, there are link to functions, constants and types. What more do you want?
Re: Overview about all I²C functions and procedures?
Posted: 07 Oct 2010, 17:46
by HaWe
I'm not sure, maybe John is sort of subtile ironic (happens very seldom, but they say it happens)?