Does anyone know about robotc Vex system?
hey boondocks again
in what aspect
coding :p
what is the language or what is the board
i have no idea how would i check?
ohh you don't have a specific question you just want to know in general
noo , i need help programming my button to a motor
but yeah that would be my question
i would need to know what type of hardware you have, is it an arduino?
i can take a print screen, its something i did in class and just decided to download it today
that would be the language called C
Oh well yes i need help with this language. Is C and easy language?
no :)
lol ;(
i know how to program but i always get the parenthesis wrong
Thanks for looking into it, i hope someone knows this
owlbucks giveaway
<<<
you probably need to do initialization for the microcontroller
like is the switch a breadboard switch or on the microcontroller
a micro controller it looks like this a grey box
ill be back
ok back
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
there should be lots of tutroials online about programming servos in C
check youtube
there is but i doubt my teacher would think we did something like that i found a very good one
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.
haah i see the button switch i cant figure out how to input that in to my code
you could probably take it out of that first while loop
programming is one of those things you just have to play around with. that what contorl Z is for
if (Sensorvalue [limitswitch]){ } else {} this needs to be inside your main and a while
Thanks yes!!
i think that is what i need to put and sure i will try and play around with it tommorow
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?
on that left side theres a menu fuctions you should read throught hose
what do you want to happen all togethor
Like ok i will write it out
let me draw it first
|dw:1430269749685:dw|
Join our real-time social learning platform and learn together with your friends!