|
Page 1 of 1
|
[ 8 posts ] |
|
| Author |
Message |
|
Grees
Rookie
Joined: Wed Jul 15, 2009 5:08 am Posts: 4
|
 Color sensor for Robotc
Hello world! I am Italian so I apologize if my English is not very correct. I'm desperately looking for drivers for the color sensor of hitechnic to add on robotc. Someone knows where I can download it? thanks... Grees
|
| Wed Jul 15, 2009 5:24 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2865 Location: Rotterdam, The Netherlands
|
 Re: Color sensor for ROBOTC
Grees, Have a look at the RobotC Driver Suite. It has drivers for the sensor you're talking about. You can also use the built-in one by using the Motor and Sensor Setup in the "Robot" menu option. It's in the drop down list. You can then access the colour it is currently detecting by using "SensorValue[<your sensor port>]; Regards, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Wed Jul 15, 2009 5:35 am |
|
 |
|
Grees
Rookie
Joined: Wed Jul 15, 2009 5:08 am Posts: 4
|
 Re: Color sensor for ROBOTC
Grazie mille mightor. Sei un grande! GRAZIE GRAZIE. Thank you for the help.I have a debt with you.  :) Thanks
|
| Wed Jul 15, 2009 5:41 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2865 Location: Rotterdam, The Netherlands
|
 Re: Color sensor for ROBOTC
I accept payments in all major denominations, euro, yen and Canadian dollars. Sorry no US dollars, they're a little weak and unstable at the moment. *grin* If you need an example of some code, let me know and I'll see if I can cook something up for you. Regards, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Wed Jul 15, 2009 5:56 am |
|
 |
|
Grees
Rookie
Joined: Wed Jul 15, 2009 5:08 am Posts: 4
|
 Re: Color sensor for ROBOTC
hihi!:) you are very sympathetic. ehm, I have a problem. I do not know how I have to add the drivers to robotc. How is it done? Grees
|
| Wed Jul 15, 2009 6:03 am |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2865 Location: Rotterdam, The Netherlands
|
 Re: Color sensor for ROBOTC
If you copy the following program in your editor window, you can get started with the sensor: I have tested this with RobotC 1.46 and the colour sensor attached to sensor port S1. You do not need the RobotC driver suite for this. It makes use of the built-in ones. Regards, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Wed Jul 15, 2009 6:17 am |
|
 |
|
MarkO
Rookie
Joined: Fri Jun 12, 2009 6:38 pm Posts: 25 Location: Albany, Oregon, USA, North Western Hemisphere, Planet Tera
|
 Re: Color sensor for ROBOTC
 |  |  |  | mightor wrote: I accept payments in all major denominations, euro, yen and Canadian dollars. Sorry no US dollars, they're a little weak and unstable at the moment. *grin* << SNIP >> Regards, Xander |  |  |  |  |
No US Dollars? Are you sure?? Maybe you could just double your amount.
|
| Wed Jul 15, 2009 6:16 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
 Re: Color sensor for ROBOTC
Xander, I can copy this: "Buy on bad news"! 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Wed Jul 15, 2009 6:18 pm |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|