Register for your free account! | Forgot your password?

Go Back   elitepvpers > General > Main
You last visited: Today at 23:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Basic Stamp

Discussion on Basic Stamp within the Main forum part of the General category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 7
Received Thanks: 1
Unhappy Basic Stamp

Von der Schule aus habe ich ein Projekt gestartet bei dem wir ein Auto bauen muss ich ein programm schreiben damit das Auto fährt und bei berührung mit einem Taster in eine andere richtung fährt.
Der Code bis jetzt sieh so aus:
Code:
' {$STAMP BS1}
INPUT 0
INPUT 1
OUTPUT 2
OUTPUT 3
OUTPUT 4
OUTPUT 5

start:
IF PIN0=1 THEN rechts
IF PIN1=1 THEN links
HIGH 2
LOW 3
HIGH 4
LOW 5
PAUSE 100
GOTO start

rechts:
LOW 2
HIGH 3
LOW 4
HIGH 5
PAUSE 500
HIGH 2
LOW 3
LOW 4
HIGH 5
PAUSE 500
GOTO start

links:
LOW 2
HIGH 3
LOW 4
HIGH 5
PAUSE 500
LOW 2
HIGH 3
HIGH 4
LOW 5
PAUSE 500
GOTO start
Aber es tut nicht so richtig!
Die Räder fahren eine weile in eine richtung, soweit so gut,
aber nach einer weile hört ein Rad auf zu fahren und das andere fährt in die falsche Richtung!!!

Was mach ich falsch?
Fronther is offline  
Old 03/29/2011, 16:51   #2
 
GotDamned's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 1,918
Received Thanks: 3,080
Momentan verstehe ich den Quellcode noch gar nicht, bzw fällt mir schwer, da ich die Sprache nicht kenne.
Kannst du ihn mal kommentieren?
GotDamned is offline  
Reply

Tags
auto, basic, basic stamp, programmieren, stamp


Similar Threads Similar Threads
Time stamp
03/16/2011 - CO2 Programming - 4 Replies
skimming through the codes in prog4never's alchemy project, i realized that he obtained the timestamp using Environment.tickCount. This is the time elapsed since system boot up. Is Conquer using the exact same method for it's time stamp? If yes, i will be performing a "niggering" on a C# written console executable for the system boot up time. EDIT: just tested, it indeed is. So if i tried to implement speedhack, which will require timestamp to be stepped up, i will have to edited every...
Pvptool | Basic und Basic+Elite
02/10/2011 - World of Warcraft Trading - 4 Replies
Hey leute, verkaufe hier folgendes: Basic Lifetime für 12€ und Basic+Elite für 20€. Bezahlen könnt ihr mit Paypal, Moneybookers, oder auch mit psc wenn ihr nen asucasher für pp/mb habt. Lg Robin_-
[XP Only]RE-release ZeroXD added SS with time stamp
11/04/2010 - Combat Arms Hacks, Bots, Cheats & Exploits - 3 Replies
hey guys i decided to release this due to many beggers hey guys i added the screen shot with time stamp SS: OS: Windows XP 32 bit- Working Windows vista 32 bit- Not Working windows vista 64 bit- Not Working windows 7 64 bit- Not Working
[Resource]Time Stamp Generator
03/04/2010 - EO PServer Hosting - 2 Replies
Ever wanted to make a time stamp to end for a specific date? say for a custom special status, well i found something that generates the time stamps. it was pretty easy to find, but i thought i would share it with you anyways. Unix Time Stamp Generator
Dualcraft Stamp
03/12/2007 - Lineage 2 - 1 Replies
Hi there.. can anyone tell me where or which quest that can obtain dualcraft stamp for making duals A? 1 is manor system, and the other one i believe is from a quest. If any of you have doen the quest, can you help to post it up ?



All times are GMT +2. The time now is 23:59.


Powered by vBulletin®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2022 elitepvpers All Rights Reserved.