From 05bc76c2b5a75a4cd19befdda764d5a096ffd213 Mon Sep 17 00:00:00 2001 From: Andreas Neiser Date: Wed, 21 May 2014 14:05:48 +0200 Subject: [PATCH] Completing Padiwa.xml, and providing correct padiwa.pl --- web/htdocs/padiwa/padiwa.pl | 21 ++- xml-db/database/Padiwa.xml | 319 +++--------------------------------- 2 files changed, 43 insertions(+), 297 deletions(-) diff --git a/web/htdocs/padiwa/padiwa.pl b/web/htdocs/padiwa/padiwa.pl index 5c87ef4..dd9f233 100755 --- a/web/htdocs/padiwa/padiwa.pl +++ b/web/htdocs/padiwa/padiwa.pl @@ -24,11 +24,22 @@ $page->{link} = "../"; my @setup; -$setup[0]->{name} = "AnyReg"; -$setup[0]->{cmd} = "Padiwa-0xfe48:0..3-Status"; -$setup[0]->{period} = -1; -$setup[0]->{generic} = 1; -$setup[0]->{rate} = 1; + +$setup[0]->{name} = "Status"; +$setup[0]->{cmd} = "Padiwa-0xfe48:0..3-Status-rate"; +$setup[0]->{refresh} = 1; +$setup[0]->{period} = 10000; + +$setup[1]->{name} = "Control"; +$setup[1]->{cmd} = "Padiwa-0xfe48:0..3-Control"; +$setup[1]->{refresh} = 1; +$setup[1]->{period} = -1; + + +$setup[2]->{name} = "Thresholds"; +$setup[2]->{cmd} = "Padiwa-0xfe48:0..3-Thresholds-rate"; +$setup[2]->{refresh} = 1; +$setup[2]->{period} = 10000; xmlpage::initPage(\@setup,$page); diff --git a/xml-db/database/Padiwa.xml b/xml-db/database/Padiwa.xml index d0e3c0a..d6b0138 100644 --- a/xml-db/database/Padiwa.xml +++ b/xml-db/database/Padiwa.xml @@ -16,6 +16,15 @@ 03-00: Channel/Register --> + + + Write/read settings for PWM channels 0-15 + + Write/read settings for PWM of channel, aka Threshold + + + + Read the unique identifier of the onboard temperature sensor @@ -25,6 +34,14 @@ Board Temperature + + Unix timestamp of time of compilation + + + + Padiwa Firmware version number + + @@ -53,300 +70,18 @@ Input Invert, one bit for each input signal - - - - - - - -- 2.43.0