<html><head></head><body>Die Prüfziffer-Berechnung für den Ting-Stift haben wir aus dem Mikrocontroller-Forum.<br>
Mir ist dann aufgefallen, dass die für den TipToi immer genau das Gegenteil ist.<br>
Das bewirkt übrigens, dass die Systeme untereinander inkompatibel sind.<br>
Die Berechnung mag auch einfacher gehen, aber ich habe einfach die Formel vom Ting genommen. Dann noch XOR mit 1 und die Ziffer passt.<br>
Die Prüfziffer springt - das sieht man schön, wenn man mehrere Werte der Reihe nach durchgeht.<br>
Ich könnte den Decoder mal umbauen, damit die echten Werte angezeigt werden - dafür müsste ich das Mapping mal in JavaScript packen.<br>
Besteht da Interesse?<br>
<br><br><div class="gmail_quote">Am 4. August 2016 14:03:33 MESZ, schrieb St_Germain@web.de:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: Verdana;font-size: 12.0px;"><div>Hallo Zusammen,</div>

<div> </div>

<div>my english is terribale: so follow me in german..</div>

<div> </div>

<div>Ich verstehe das XOR und ADD nicht... </div>

<div>Aber kann es eine einfache "Quersumme" oder ein "Mod 2" sein?</div>

<div> </div>

<div>Im Wikipedia habe ich noch gefunden:</div>

<div>Ist das Paritätsbit immer 1, dann spricht man von einer Mark-Parität (es enthält keine Information); ist es immer 0, spricht man von Space-Parität (es stellt einen Leerraum dar).</div>

<div> </div>

<div>Hat das Paritätsbit immer einen anderen Zustand in den Grafiken?</div>

<div>
<div> </div>

<div>St_germain (Ingo)</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 04. August 2016 um 13:28 Uhr<br />
<b>Von:</b> "Ulrich Sibiller" <ulrich.sibiller@gmail.com><br />
<b>An:</b> "Die Mailingliste für Tiptoi-Bastler" <tiptoi@lists.nomeata.de><br />
<b>Betreff:</b> Re: [Tiptoi] oid code structure</div>

<div name="quoted-content">On Thu, Aug 4, 2016 at 12:57 PM, Yim Taka <haqmedia@hotmail.com> wrote:<br />
> I am developing some software to help create the codes and overlay ontop of<br />
> graphics but i am having trouble understanding how the codes are generated.<br />
> When i zoom in onto the dots in the file 'oid-table.png' inside the<br />
> tttool-win32-1.6.1 folder the codes do not match those generated by the<br />
> oid-decoder.html. Does anyone have any information on how the codes are<br />
> generated? I understand the top row of 4 dots is alignment and the left row<br />
> is also aligment and the 3x3 grid left is the data, but how is this data<br />
> converted to an oid value?<br />
<br />
There's a document in the docs directory of the git repo explaining<br />
that: <a href="https://github.com/entropia/tip-toi-reveng/blob/master/docs/The_Code.pdf" target="_blank">https://github.com/entropia/tip-toi-reveng/blob/master/docs/The_Code.pdf</a><br />
<br />
Please note: the number you get out of there is not the number the pen<br />
reports, there's a mapping table inside tttool for that (should be<br />
<a href="https://github.com/entropia/tip-toi-reveng/blob/master/src/KnownCodes.hs" target="_blank">https://github.com/entropia/tip-toi-reveng/blob/master/src/KnownCodes.hs</a>).<br />
<br />
Uli<br />
<br />
--<br />
tiptoi mailing list<br />
tiptoi@lists.nomeata.de<br />
<a href="https://lists.nomeata.de/mailman/listinfo/tiptoi" target="_blank">https://lists.nomeata.de/mailman/listinfo/tiptoi</a></div>
</div>
</div></div>

<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail">-- <br />tiptoi mailing list<br />tiptoi@lists.nomeata.de<br /><a href="https://lists.nomeata.de/mailman/listinfo/tiptoi">https://lists.nomeata.de/mailman/listinfo/tiptoi</a><br /></pre></blockquote></div></body></html>