README.TXT 924 B

1234567891011121314151617181920212223
  1. This example is based on the normal traffic_light example, which is made for Java.
  2. It shows how the exact same statechart can be used for a Java application and an arduino sketch written in C.
  3. PLEASE NOTE: You need the Eclipse Arduino plugin.
  4. To install the tool in Yakindu Statechart Tools, go to Help->Install New Software, copy
  5. http://www.baeyens.it/eclipse/V3/
  6. and give it a meaningful name. After that, you can select the plugin and install it. After one restart of YSCT, the plugin is ready to use.
  7. Also, of course, you need an Arduino. The pins where you need to connect the LEDs and buttons can be seen or changed in the software.
  8. Parts list:
  9. - Arduino 1x
  10. - red LED 2x
  11. - green LED 2x
  12. - yellow LED 1x
  13. - white LED 1x
  14. - resistors for the LEDs, 200 to 300 Ohm
  15. - Button 2x
  16. - pull-up resistors for the buttons 2x
  17. - cables and a breadboard
  18. Also, you need to set the correct port for the Arduino in Project->Properties.