Difference between revisions of "Talk:10369"

From ElphelWiki
Jump to: navigation, search
m
 
Line 1: Line 1:
 +
Clicking this:
 +
 +
http://192.168.0.9/i2c.php?width=8&bus=1&adr=0x5102
 +
 +
returns this:
 +
 +
<nowiki><i2c>
 +
  <width>8</width>
 +
  <bus>1</bus>
 +
  <slave>0xa2</slave><
 +
  <adr>20738</adr>
 +
  <hex_adr>0x5102</hex_adr>
 +
  <data>68</data>
 +
  <rdata>68</rdata>
 +
  <hex_data>0x44</hex_data>
 +
</i2c></nowiki>
 +
 +
However, seconds cannot be '68', can they? It looks like the hex_data value is the actual seconds but presented in decimal not hex. 'data' and 'rdata' jump up when hex_data changes decade.
 +
----
 
When clicking this link:
 
When clicking this link:
  
Line 5: Line 24:
 
I get:
 
I get:
  
<i2c>
+
<nowiki><i2c>
 
   <error>"Address (adr or raw) or width are not specified or are not positive."</error>
 
   <error>"Address (adr or raw) or width are not specified or are not positive."</error>
 
   <usage>"open URL: i2c.php?width=www&bus=bbb&adr=aaa&data=ddd"</usage>
 
   <usage>"open URL: i2c.php?width=www&bus=bbb&adr=aaa&data=ddd"</usage>
</i2c>
+
</i2c></nowiki>

Latest revision as of 11:55, 16 December 2011

Clicking this:

http://192.168.0.9/i2c.php?width=8&bus=1&adr=0x5102

returns this:

<i2c>
  <width>8</width>
  <bus>1</bus>
  <slave>0xa2</slave><
  <adr>20738</adr>
  <hex_adr>0x5102</hex_adr>
  <data>68</data>
  <rdata>68</rdata>
  <hex_data>0x44</hex_data>
 </i2c>

However, seconds cannot be '68', can they? It looks like the hex_data value is the actual seconds but presented in decimal not hex. 'data' and 'rdata' jump up when hex_data changes decade.


When clicking this link:

http://192.168.0.9/i2c.php?cmd=readCMOS

I get:

<i2c>
  <error>"Address (adr or raw) or width are not specified or are not positive."</error>
  <usage>"open URL: i2c.php?width=www&bus=bbb&adr=aaa&data=ddd"</usage>
</i2c>