Go Down

Topic: VBB arduino emulator (Read 3 times) previous topic - next topic

Hani

Hi all....

I am using the a program to emulate the arduino codes and circuits ..... program code is written using javascript (not sure, an example below for defining an integer) .... so how can i write the port manipulation commands such as PORT, PIN and DDR?

for the "int = 2" .... it becomes "static final int = 2"

PeterH


I am using the a program to emulate the arduino codes and circuits

Can you expand on this? You have an Arduino emulator of some sort?
I only provide help via the forum - please do not contact me for private consultancy.


UKHeliBob

More expansion needed.
Where did you get the emulator ?  As you don't know what language it is written in I presume that you did not write it.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Hani

#4
Feb 04, 2013, 11:27 pm Last Edit: Feb 04, 2013, 11:41 pm by Hani Reason: 1
the emulator is called VBB  and you can write any code there but i have trouble with the writting language cause its a bit similar to arduino program language but with some differences when the code gets complicated  

PeterH


yes


Very helpful 'expansion' there. How do you expect us to help you if this is how you respond to requests for information?
I only provide help via the forum - please do not contact me for private consultancy.

Hani

PeterH we meet again........ yes was an answer to his question if whether i have an arduino emulator ... i "expanded" enough i think in the second post.... and yet no answer from you still..old habits don't die easily don't they? ... 

Nick Gammon

Give PeterH a bit of a break. This stuff isn't easy to understand:

Quote
i have trouble with the writting language cause its a bit similar to arduino program language but with some differences when the code gets complicated 

PeterH


PeterH we meet again........ yes was an answer to his question if whether i have an arduino emulator ... i "expanded" enough i think in the second post.... and yet no answer from you still..old habits don't die easily don't they? ...   


That was MY question, which asked you to expand on your cryptic statement that you were using an emulator, without telling us anything about it. The answer 'yes' hardly clarifies anything, does it? What is the emulator? Is it intended to emulate an Arduino? The fact it apparently doesn't use the Arduino programming language makes that seem unlikely.
I only provide help via the forum - please do not contact me for private consultancy.

Hani


Give PeterH a bit of a break. This stuff isn't easy to understand:




even for me :P

Hani

peterH..... hhhhhhhhhhhhhhhhh.... i didn't see that it was ur question....and yes was the answer as i said for ur question if i am using an arduino emulator as i mentioned before...... as for the emulator that is not the problem... the problem is the code writting language as i mentioned in the question....but u seem to be more interested in the emulator rather than the question concerning the program... so go ahead and ask more questions about the emulator and i will happily answer it :D

PeterH

The code fragment you posted is not JavaScript. Perhaps it is Java.

You haven't actually said anything about the emulator - which one it is, what it does, what you're using it for. All we have so far is that (something) uses code written in (some unknown language which is not 'C or C++ or Arduino) is being used to emulate an Arduino (in some unspecified way), and you don't know how to do it.

Presumably it's not emulating the Arduino runtime environment, since it's programmed in a different language. Is it a hardware emulator, or something? You seem to expect it to be providing a low level emulation of the Arduino runtime environment, but it's not at all clear that is a sensible thing for it to do.
I only provide help via the forum - please do not contact me for private consultancy.

Quick5pnt0

I believe the OP is referring to Virtual Breadboard: http://www.virtualbreadboard.com

Hani

yes it's the virtual breadboard.... try it peterH.... 

Hani


The code fragment you posted is not JavaScript. Perhaps it is Java.

You haven't actually said anything about the emulator - which one it is, what it does, what you're using it for. All we have so far is that (something) uses code written in (some unknown language which is not 'C or C++ or Arduino) is being used to emulate an Arduino (in some unspecified way), and you don't know how to do it.




Nope.... that is not the case..... i know how to use it.... i know what it does.... i don't have to explain everything for a simple question like that..... i was just asking about the programming language nothing else.... there is no need for u to know what does it emulate nor how ....... my question is simple and my problem does not require such details....

And if u bothered to "GOOGLE" what is the VBB arduino emulator u would have known what it is.... don't expect the answer to be spoon fed to u   

Go Up