<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Euan</p>
    <p>Is the AVR doing bit-banging for the USB ? Nick spoke about this
      method but mentioning AVR piqued my interest which meant I had to
      look :-)</p>
    <p> I can't see an AVR with a USB peripheral on the selection
      guides. In that respect the small 145x PICs are unusual but I
      stand correctable.</p>
    <p>All the best<br>
      Harry  <br>
    </p>
    <div class="moz-cite-prefix">On 19/6/22 19:40, Euan de Kock wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJKQrYznrkYMwzEZ9Aug+g_ujw2HwkJsZdpBo1LVaUvF1Ta-2w@mail.gmail.com">
      <div dir="auto">Hi Nick,  Harry.,
        <div dir="auto"><br>
        </div>
        <div dir="auto">I do still have the source code lying around
          somewhere.  I'll dig it out and post it later this week. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards, </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Euan. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <br>
        <br>
        <div class="gmail_quote" dir="auto">
          <div dir="ltr" class="gmail_attr">On Sun, 19 June 2022, 5:38
            pm Nick Bannon, <<a href="mailto:nick@ucc.gu.uwa.edu.au"
              moz-do-not-send="true" class="moz-txt-link-freetext">nick@ucc.gu.uwa.edu.au</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote">Hmmm, a spammer has actually
            subscribed themselves. Must fix that.<br>
            <br>
            Euan! Inspired by the last round of tally lights... Harry's
            made some<br>
            new  PIC-based protoypes. Do you still have the source to
            the AVR ones?<br>
            <br>
            On Mon, Jun 13, 2022 at 05:59:33PM +0800, Harry McNally
            wrote:<br>
            > Hello again<br>
            > Did you have an opportunity to build and install on the
            Tally boards yet ?<br>
            <br>
            Haven't rebuilt the code yet, but reloaded some of the
            pre-built images<br>
            a couple of times.<br>
            <br>
            Current protocol follows for the:<br>
            uber_tally/src/PIC16F1-USB-Bootloader/sample_app/usb_rgb.hex<br>
            <br>
            On Mon, May 30, 2022 at 10:27:29PM +0800, Harry McNally
            wrote:<br>
            [...]<br>
            > The commands on this un-stateful version consist of two
            lower case character<br>
            > commands with some hex digit options all terminated by
            a <CR><br>
            > <br>
            > The response is ACK (a minus char followed by
            <CR><LF>) :<br>
            > <br>
            > -<CR><LF><br>
            > <br>
            > and NACK is plus char<br>
            > <br>
            > +<CR><LF><br>
            > <br>
            > This is largely hysterical since some of the devel
            boards I have used are<br>
            > like this so you can command them with a terminal. This
            is easy to change<br>
            > but I'd hope it would always use ascii chars for ease
            of driving the device<br>
            > with a simple script.<br>
            > <br>
            > Commands are:<br>
            > <br>
            > Red LED on> lo<CR><br>
            > <br>
            > Red LED off> lf<CR><br>
            > <br>
            > RGB colour> rRRGGBB where six hex digits are HTML
            colour codes. Hex digits<br>
            > are lower or upper case and reduced length is allowed
            so:<br>
            > <br>
            > rFF is blue maximum, r0 is all off, rFF00 is green
            maximum etc. r<CR> is<br>
            > also all off for reasons of code simplicity but I could
            NACK that.<br>
            > <br>
            > eo<CR> and ef<CR> mean echo on and echo off
            respectively if you don't want<br>
            > to manage any USB response from the tally. Echo on at
            reset.<br>
            > <br>
            > co<CR> and cf<CR> mean <CR>LF> on
            and off respectively so only - and + are<br>
            > returned after each command (echo must be on). CRLF on
            at reset.<br>
            [...]<br>
            > All the best<br>
            > Harry<br>
            <br>
            Cheers,<br>
            Nick.<br>
            <br>
            -- <br>
               Nick Bannon   | "I made this letter longer than usual
            because<br>
            <a href="mailto:nick-sig@rcpt.to" target="_blank"
              rel="noreferrer" moz-do-not-send="true"
              class="moz-txt-link-freetext">nick-sig@rcpt.to</a> | I
            lack the time to make it shorter." - Pascal<br>
            _______________________________________________<br>
            AV mailing list<br>
            <a href="mailto:AV@plug.org.au" target="_blank"
              rel="noreferrer" moz-do-not-send="true"
              class="moz-txt-link-freetext">AV@plug.org.au</a><br>
            <a href="http://lists.plug.org.au/mailman/listinfo/av"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.plug.org.au/mailman/listinfo/av</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
AV mailing list
<a class="moz-txt-link-abbreviated" href="mailto:AV@plug.org.au">AV@plug.org.au</a>
<a class="moz-txt-link-freetext" href="http://lists.plug.org.au/mailman/listinfo/av">http://lists.plug.org.au/mailman/listinfo/av</a>
</pre>
    </blockquote>
  </body>
</html>