<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>I've always seen it described as B1, B2, ... B8. But, b[0]..b[7] is equally acceptable.<div><br></div><div>How about we say either b[2] or B3 if we mean the third byte of the can bus message. Use the [ ] to reinforce that it is an array index?</div><div><br></div><div>In the tesla roadster canbus notes, it has a little explanation:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>Bytes are numbered B1 to B8 not B0-B7<br>bits are numbered bit0 to bit7<br>Byte pairs are in little endian order (e.g B4*256+B3)</div></blockquote></div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 30 Dec, 2012, at 3:14 AM, <a href="mailto:mikeljo@me.com">mikeljo@me.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi everyone,<div><br></div><div>we have a little big Problem. :-)</div><div><br></div><div>Computer Nerds, programmer etc. start counting by 0 (zero).</div><div>The CAN Bus Data Byte descriptions say D1, D2, ... , D8</div><div><br></div><div>Example:</div><div>5EC 8 FE 47 69 00 00 00 00 00</div><div>So, what do you mean with Byte 2? Is it 47 or is ist 69?</div><div><br></div><div>As a <span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">programmer i say it is 69.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">But other People say it is 47.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">Confusing!?</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br></span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">I think it is essential that we have one base.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">Lets start counting with 0. So the value from above is 69.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br></span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br></span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">Bye</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">Michael J.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br></span></div></div>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>