hello,the help function is still very poor and urgently needs to be improved.If I'm looking for help to the topic "Sensors" and open the submenu (click on [+]),there are only general information to sensorMode, sensorType etc., but no single hint to it's actual usage can be found.What I'm expecting are explanations and code snippets like

Quote:

sensorTypes:supported are currently:sensorTouch,sensorSonar,....

usage:first you have to definesetSensor(sensorPort, sensorType), e.g.:setSensor(S1, sensorSonar);instead of S1 you may use: 0 (and instead of S2: 1, and so on)

then you can get the current sensor value byint myVar;myVar=sensorValue(S1);...

alternatively you may wish to use the built-in sensor wizzard, if you want

Actually I don't know if my examples are correct (because I don't have found help topics on that!!), it's only the way I want it to be like this.Especially missing are additional code snippets for the Hitechnic Compass Sensor and some code snippets for 3rd party I²C sensors, and the usage of subtypes and alternative raw value reading of analog sensors.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum