Hi,
well so i was just wondering how i would call a function like delay_us(10) which is there in the tutorial.
Well, what you've got is in reality a small DOS based PC, at least from the programming point of view. You can program it in whatever language you can run on a DOS based PC.
What exactly a delay routine is called, will depend on the language you use, but
you don't really need a delay routine to time a Ultra Sound (US) ping.
Most programming languages have some mean of timing directly by starting a timer and then reading it (which for some language variants also resets the timer).
Eg in Turbo BASIC (he early version of Power BASIC) you have MTIMER which is a 16 bit timer, so can count (in µs) up to ~20m of sound travel which give you a distance of ~10m to target (since the sound is going to target and then back) and with a much higher resolution than your US hardware can use.
Before you can start programming, you need to decide which programming language you will use.
Then you just make the program, compile it and put it on drive B of your board.
Then you have to make provision for starting the program. I didn't read the manual that close, but I assume there is an AutoExec file that you just write its name in, to start it at power up.
So, which language do you prefer?
Nice board, if the manual holds up. Where did you get it and what did you pay?