Script Simulator help
Entry Point
At each cpu cycle, the run function is called. You MUST define this function :
function run(){
}
Available functions
- ScriptLog(String)
Send a String to the Log Dialog on the "Simulator" topic
- bool GoDown(int pinId)
- bool GoUp(int pinId)
- bool Change(int pinId)
- timerInit(int id)
- int timerMsElapsed(int id)
- int timerUsElapsed(int id)
- Connector Objects
- qint64 Get_values()
return the connector value
- void Set_values(qint64 val)
Set the connector value
- bool Get_pin(int pinId)
- void Set_pin(int pinId , bool)
Constants
MT_OUT2 1
GND 2
VGG 3
BUSY 4
D_OUT 5
MT_IN 6
MT_OUT1 7
D_IN 8
ACK 9
SEL2 10
SEL1 11