Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (matlee):

Does anyone know about robotc Vex system?

OpenStudy (matlee):

hey boondocks again

OpenStudy (anonymous):

in what aspect

OpenStudy (matlee):

coding :p

OpenStudy (anonymous):

what is the language or what is the board

OpenStudy (matlee):

i have no idea how would i check?

OpenStudy (anonymous):

ohh you don't have a specific question you just want to know in general

OpenStudy (matlee):

noo , i need help programming my button to a motor

OpenStudy (matlee):

but yeah that would be my question

OpenStudy (anonymous):

i would need to know what type of hardware you have, is it an arduino?

OpenStudy (matlee):

i can take a print screen, its something i did in class and just decided to download it today

OpenStudy (matlee):

OpenStudy (anonymous):

that would be the language called C

OpenStudy (matlee):

Oh well yes i need help with this language. Is C and easy language?

OpenStudy (anonymous):

no :)

OpenStudy (matlee):

lol ;(

OpenStudy (matlee):

i know how to program but i always get the parenthesis wrong

OpenStudy (matlee):

Thanks for looking into it, i hope someone knows this

OpenStudy (matlee):

owlbucks giveaway

OpenStudy (matlee):

<<<

OpenStudy (anonymous):

you probably need to do initialization for the microcontroller

OpenStudy (anonymous):

like is the switch a breadboard switch or on the microcontroller

OpenStudy (matlee):

a micro controller it looks like this a grey box

OpenStudy (matlee):

http://www.robotc.net/download/vex/

OpenStudy (matlee):

ill be back

OpenStudy (matlee):

ok back

OpenStudy (anonymous):

the easy thing is to copy and paste someones code otherwise you need to learn some c and then learn functions specific to that controller

OpenStudy (anonymous):

there should be lots of tutroials online about programming servos in C

OpenStudy (anonymous):

check youtube

OpenStudy (matlee):

there is but i doubt my teacher would think we did something like that i found a very good one

OpenStudy (anonymous):

you can always copy and paste a little of the code at a time to see what works. Try and read through what each line is doing.

OpenStudy (matlee):

https://www.youtube.com/watch?v=Jd1QJsOzOjw

OpenStudy (matlee):

haah i see the button switch i cant figure out how to input that in to my code

OpenStudy (anonymous):

you could probably take it out of that first while loop

OpenStudy (anonymous):

programming is one of those things you just have to play around with. that what contorl Z is for

OpenStudy (anonymous):

if (Sensorvalue [limitswitch]){ } else {} this needs to be inside your main and a while

OpenStudy (matlee):

Thanks yes!!

OpenStudy (matlee):

i think that is what i need to put and sure i will try and play around with it tommorow

OpenStudy (matlee):

But how would i order by if then or else statements for example if my motor runs first the i would put then limitswtich ends all tasks?

OpenStudy (anonymous):

on that left side theres a menu fuctions you should read throught hose

OpenStudy (anonymous):

what do you want to happen all togethor

OpenStudy (matlee):

Like ok i will write it out

OpenStudy (matlee):

let me draw it first

OpenStudy (matlee):

|dw:1430269749685:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!