| | Rotation and Touch Sensors on one input
|
|
I was playing around with legOS 0.1.5 last night (thanks for legOS Markus) and was able to get the rotation sensor code working fairly well. While doing this and looking at the RAW values the ratation sensor returns, I noticed that they are all (...) (26 years ago, 28-Jan-99, to lugnet.robotics)
|
|
| | Re: Rotation and Touch Sensors on one input
|
|
Hi Eric, (...) You're welcome. Could you be more specific than "fairly well"? I've heard different stories. Some people reported rotation works perfectly in one direction and not at all in the other. Others experienced other results. Did you modify (...) (26 years ago, 28-Jan-99, to lugnet.robotics)
|
|
| | Re: Rotation and Touch Sensors on one input
|
|
(...) and (...) this (...) Markus and others, here is my modified version of direct-sensor.c Sorry that this is so long, but I do not have a web site to post this on. -- // // legOS - the independent LEGO Mindstorms OS // direct-sensor.c - direct (...) (26 years ago, 28-Jan-99, to lugnet.robotics)
|
|
| | Re: Rotation and Touch Sensors on one input
|
|
(...) In the file that I just posted there is a section which looks like this in ds_rotation_handler () unsigned int cnt; //ERH lcd_int ( raw ); //ERH // lcd_int (state); //ERH lcd_refresh (); //ERH for ( cnt = 0; cnt < 10000; cnt++ ); //ERH This (...) (26 years ago, 28-Jan-99, to lugnet.robotics)
|