|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Ok one problem
When creating my code for the Autonomous mode, i'm running into a problem with making a counter of some sort so i can change directions or perform actions during the mode. I thought i'd try setting up one like most other languages time = time + 1 << thats how i know how to do it, its plan and simple. I've not had too much experiene with PBASIC but there must be another way.
Also my if statments sorta go like this, are they the problem? if time < (a certain time) then do_a_turn do_a_turn: "turn code" if theres something wrong with that lemme know too. I'm probly doing something really dumb, but its a big problem we're having. thanks! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Victor problem | Andy Baker | Electrical | 15 | 24-06-2003 09:49 |
| The problem with scouting... | archiver | 2001 | 10 | 23-06-2002 23:49 |
| joystick problem | archiver | 2000 | 12 | 23-06-2002 23:08 |
| Major problem with chipphua motors | aka Scott White | Motors | 18 | 19-03-2002 19:44 |
| Heres a big problem that I think Discreet does not know what they are talking about. | wes16zeus | 3D Animation and Competition | 9 | 09-01-2002 23:31 |