Tidy omron sct file, change id poll rate then regenerate

This commit is contained in:
Douglas Clowes
2014-06-17 14:24:49 +10:00
parent ed7c371080
commit 6ce8d3d577
2 changed files with 11 additions and 6 deletions

View File

@@ -8,14 +8,19 @@ driver omron_hldc = {
simulation_group = environment_simulation;
group = {
readable = 1;
priv = user;
var id = {
type = text
read_function = read_id; read_command = '0501';
readable = 10;
type = text;
read_function = read_id;
read_command = '0501';
}
var distance = {
type = float
read_function = read_mm; read_command = '0201C02030008001'; }
readable = 1;
type = float;
read_function = read_mm;
read_command = '0201C02030008001';
}
}
code getValue = {%%