Overview about all I²C functions and procedures?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Overview about all I²C functions and procedures?

Post 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?
fuzzball27
Posts: 103
Joined: 29 Sep 2010, 17:14
Location: US

Re: Overview about all I²C functions and procedures?

Post by fuzzball27 »

Try John Hanson's Power Programming book or the Extreme NXT book. Both of these cover advanced programming very well.
fuzzball27 >>-->
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Overview about all I²C functions and procedures?

Post by HaWe »

no, I mean in the NXC Help, Guide, or Tutorial
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: Overview about all I²C functions and procedures?

Post by schodet »

This: http://bricxcc.sourceforge.net/nbc/nxcd ... odule.html ?

(found under Modules, Low Speed Module)
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: Overview about all I²C functions and procedures?

Post 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
i2c.jpg (72.15 KiB) Viewed 14368 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Overview about all I²C functions and procedures?

Post 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.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: Overview about all I²C functions and procedures?

Post 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
lowspeed.jpg (93.96 KiB) Viewed 14350 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Overview about all I²C functions and procedures?

Post 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 :oops:
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: Overview about all I²C functions and procedures?

Post 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?
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Overview about all I²C functions and procedures?

Post by HaWe »

I'm not sure, maybe John is sort of subtile ironic (happens very seldom, but they say it happens)?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests