7 Replies - 937 Views - Last Post: 16 November 2009 - 11:09 PM Rate Topic: -----

#1 dneo   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 08-November 09

What codes are these?

Posted 13 November 2009 - 01:42 AM

Hi everyone, could you help me identify these codes? Which category does it belong to? C++/C# or other programming language?




GOSUB bow_pose
' GOSUB standard_pose
' GOTO main_exit
GOSUB honor
DELAY 500
GOSUB standard_pose
DELAY 1000
GOSUB bow_pose
GOSUB standard_pose
GOTO main_exit
Is This A Good Question/Topic? 0
  • +

Replies To: What codes are these?

#2 hackterr   User is offline

  • D.I.C Regular

Reputation: 21
  • View blog
  • Posts: 293
  • Joined: 13-August 09

Re: What codes are these?

Posted 13 November 2009 - 01:47 AM

its BASIC
which version ?
cannot tell without seeing more code
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades   User is offline

  • Saucy!
  • member icon

Reputation: 6246
  • View blog
  • Posts: 24,014
  • Joined: 23-August 08

Re: What codes are these?

Posted 13 November 2009 - 06:24 AM

Wow...flashbacks to 12th grade and Apple IIs...

Moving to Other Languages for followup.
Was This Post Helpful? 0
  • +
  • -

#4 GenHornet18   User is offline

  • Darken the Radar

Reputation: 36
  • View blog
  • Posts: 629
  • Joined: 19-October 09

Re: What codes are these?

Posted 13 November 2009 - 06:42 AM

Original instinct QBasic?
Was This Post Helpful? 0
  • +
  • -

#5 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7197
  • View blog
  • Posts: 15,004
  • Joined: 16-October 07

Re: What codes are these?

Posted 13 November 2009 - 06:45 AM

I love this game.

Yes, that's BASIC. However, it's real BASIC, because it's not using line numbers. Damn you, QBasic.

Edit: On second thought, it could be something completely different like LOGO. It's bloody ancient, whatever it is. :P

This post has been edited by baavgai: 13 November 2009 - 06:46 AM

Was This Post Helpful? 0
  • +
  • -

#6 dneo   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 08-November 09

Re: What codes are these?

Posted 13 November 2009 - 09:05 AM

Hi thanks for making the effort to reply to this post (:
Anyway, im using robobasic v2.5 program to do codings on Hitec sound,light, touch and distance sensors for my Robonova-I.
However i do not know the codings for sound and light sensors using such basic codes?
Like what value to put in if i want the sound sensor to detect my clapping sound?
And for light sensors, how to code it too? Please help me!
Was This Post Helpful? 0
  • +
  • -

#7 hackterr   User is offline

  • D.I.C Regular

Reputation: 21
  • View blog
  • Posts: 293
  • Joined: 13-August 09

Re: What codes are these?

Posted 13 November 2009 - 11:33 AM

Oh christ
are you using a BASIC stamp chip?
Was This Post Helpful? 0
  • +
  • -

#8 dneo   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 08-November 09

Re: What codes are these?

Posted 16 November 2009 - 11:09 PM

View Posthackterr, on 13 Nov, 2009 - 10:33 AM, said:

Oh christ
are you using a BASIC stamp chip?




hi, im using robobasic v2.5
very basic codes i think, not familliar though.

I've found this set of sound sensor codes :

Dim A as Byte
A=AD(0)
main:
IF A > 55 then MUSIC C0 if too loud, then make beep sound
goto main

however, i do not want to integrate music in my robot.
Instead, i want it to detect a clap sound and then walk forward. something like that.
Any idea of how to do it? how to input the value of clap? whats the value of clap?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1