blob: b718d9a4cd49672160091aaf5faa6f1934cf8e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef PERIPHERALSVIEW_H
#define PERIPHERALSVIEW_H
#include <QWidget>
#include "peripspiled.h"
namespace Ui {
class PeripheralsView;
}
class PeripheralsView : public QWidget
{
Q_OBJECT
public:
explicit PeripheralsView(QWidget *parent = 0);
~PeripheralsView();
void setup(const machine::PeripSpiLed *perip_spi_led);
public slots:
void led_line_changed(uint val);
void led_rgb1_changed(uint val);
void led_rgb2_changed(uint val);
private:
Ui::PeripheralsView *ui;
};
#endif // PERIPHERALSVIEW_H
|