X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_http_server%2Fsd_data%2Findex.htm;h=5879008abe0b040491714f7ba02fea79dabc5ccc;hb=e5f4284c502b756ef19ebc02da0359418aae0379;hp=551a7e38916b4ffb448b972c86409ec0a9e834f6;hpb=7d16fb1150acc2e0404373f01273bc9253bef0f6;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_http_server/sd_data/index.htm b/boards/sam3x-ek/examples/sam3x-ek_http_server/sd_data/index.htm index 551a7e38..5879008a 100644 --- a/boards/sam3x-ek/examples/sam3x-ek_http_server/sd_data/index.htm +++ b/boards/sam3x-ek/examples/sam3x-ek_http_server/sd_data/index.htm @@ -82,8 +82,8 @@ dataType :'json', success: function(data){ - $('#trigger-value').width(200*(parseFloat(data['volt'])/3.5)); - $('#uptime').text(data['up_time']+' sec'); + $('#potentiometer').width(200*(parseInt(data['volt'])/4096)); + $('#uptime').text(data['up_time'] +' sec'); $('#temperature').text(data['temp']+' °C'); temperature_data.push([data['up_time'],data['temp']]); @@ -140,7 +140,7 @@
Potentiometer Value:
-   +