Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This tutorial introduces you to the basics of RITDesigner, part of RITDevX project.

THIS IS A WORK IN PROGRES - THINGS CAN CHANGE

Requirements:

  • To run you need to have Java installed

Download:

https://github.com/ricardojlrufino/RITDevX/releases

Download file: rit-designer-VERSION-distribuition.zip

Running:

Unzip the ZIP file wherever you want, and then execute the file:

  • On Linux / Mac: bin\RITDesigner.sh

  • On Windows: bin\RITDesigner.bat .EXE PENDENTE

Interface Overview:

Open Example:

Please open file: /examples/DemoCharts01/interface.ritd

Run simulation:

To run simulation, you need upload sketch to Arduino board.

Open Sketch: (Appdir)/examples/DemoCharts01/DemoCharts01.ino in Arduino IDE

Install OpenDevice library using Arduino Library Manager (Installing Arduino Library )

When you have the sketch running on Arduino, on Designer press F9 or Run → Start

The Controller module will open.
You see connection status notification, after you see “Sync Done“, means that the program connected with the arduino and synchronize all information

To check if the communication is working, click on the button indicated above, it is connected with the Led on pin 13 of the Arduino.

If something is wrong, check the logs (mouse right-click).
Also try to disconnect and connect again. You can also, show logs.

How does it all work?

Now we will give a brief explanation of how it all works.

How communication work ?

When you add a button and click on it, a command is sent to the Device (Ex. Arduino).
This command follows a communication protocol.

See more details: How communication work

COMPLEMENTAR falar sobre como usar os nomes e os custom commands, talvez explicar um pouco do código.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.