Internships/ProjectIdeas/ArduinoVisualisation:detail: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 11: Line 11:
== Widgets ==
== Widgets ==


[[File:widget_brightness_led.png|150px|left|Led with brightness widget.]] Led with brightness: the widget indicates the brightness of the led.  
[[File:widget_brightness_led.png|150px|left|Led with brightness widget.]] '''Led with brightness''': the widget indicates the brightness of the led.  
If the led is connected to a GPIO pin the brightness could be full brightness or none depending on the GPIO state.  
* If the led is connected to a GPIO pin the brightness could be full brightness or none depending on the GPIO state.
If the led is connected to a PWM pin the brightness will be proportional to duty cicle of the signal.
* If the led is connected to a PWM pin the brightness will be proportional to duty cicle of the signal.

Revision as of 09:10, 9 March 2020

QEMU emulated Arduino board visualizer.

The QEMU emulated Arduino board visualizer is a platform for QEMU based board emulation interface.


Using the inteface a board is defined as a group of *widgets* connected to the board. Each widget is defined as a block that can have two features:

  • User interaction: the user can modify the parameters of the widget.
  • Visualization: the widget will show updates of the state of the circuit.

Widgets

Led with brightness widget.

Led with brightness: the widget indicates the brightness of the led.

  • If the led is connected to a GPIO pin the brightness could be full brightness or none depending on the GPIO state.
  • If the led is connected to a PWM pin the brightness will be proportional to duty cicle of the signal.