Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Status
colourYellow
titleTHIS IS A WORK IN PROGRES -
Status
colourYellow
titleTHINgS 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

    Status
    colourYellow
    title.exe PENDENTE

Interface Overview:

Image RemovedImage Added

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

Info

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.

Iframe
srchttp://gist-it.appspot.com/https://github.com/ricardojlrufino/RITDevX/blob/master/RITDesigner/src/assembly/release/examples/DemoCharts01/DemoCharts01.ino

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

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