315Views6Replies
programming in amicus 18
i am doing programming using amicus 18 compiler
but i dont know how to program in bas can you help me
i want my robot to move forward how do i do it.?
i am doing programming using amicus 18 compiler
but i dont know how to program in bas can you help me
i want my robot to move forward how do i do it.?
Discussions
8 years ago
A quoted string of characters is held in the microcontroller's code memory, not RAM. Therefore it cannot be emptied using the Clear command.
What you require would be something such as:
Dim MyString as String * 20
MyString = "hello world"
Hrsout MyString
Now, issuing the Clear command would clear the contents of MyString along with all other user RAM
8 years ago
WHICH robot ?
HOW is it wired ?
What is an "amicus 18" compiler ?
Steve
Answer 8 years ago
just a prototype robot
its has amicus18 board and a motor driver ld293d chip
from micro-controller port to ld293d then motors
amicus 18 is a compiler for 18f series micro-controller written in .bas programming
Answer 8 years ago
So I assume .bas is a BASIC dialect ?
What languages can you program in ? BASIC stands for "Beginner's All-purpose Symbolic Instruction Code." - which is a big clue to how easy it is.
Next question to ask yourself: where is the 293 connected on the PIC board ?
Steve
Answer 8 years ago
now i have another problem
i can't load the program to pic for some reason
i used clear command which clears all ram memory
and if i check the serial com terminal it keeps running hello world
this might be because i ran this
label:
hsrout "hello world"
goto label
for some reason i cant erase this what to do
Answer 8 years ago
Check your programming system.