Slowly getting it together on the Pic demo program.  I've retyped the source and have this:-<br><br> * File:   cointoss5.c<br> * Author: Tim<br> *<br> * Created on 20 June 2013, 07:51<br> */<br><br>#include <stdio.h><br>
#include <stdlib.h><br>#include <xc.h><br>#include <pic12f1840.h><br><br>#define INT_OSC 500000L<br>#define _XTAL_FREQ _INT_OSC<br><br>/* 12.0 page 101 setup the ports <br> */<br><br>TRISAbits.TRISA0 = 0;<br>
TRISAbits.TRISA1 = 0;<br>TRISAbits.TRISA2 = 1;<br><br>/*  DISABLE ANALOG FEATURES */<br><br>ANSELAbits.ANS0 = 0;<br>ANSELAbits.ANS1 = 0;<br>ANSELAbits.ANS2 = 0;<br><br>/*   page 107 enable weak pullup on A2  */<br>WPUAbits.WPUA2 = 1;<br>
OPTION_REGbits.nWPUEN = 0;<br><br>uint8_t random_byte = 0xB4;<br><br>void dorand(void)<br>{<br>    asm("BCF STATUS,0");<br>    asm("RRF _random_byte,W");<br>    asm("BTFSC STATUS,0");<br>    asm("XORLW 0xB4");<br>
    asm("MOVWF _random_byte");<br><br>}<br><br>int main(int argc, char** argv) {<br><br>    while (1) {<br>             // Wait for button to press (go low) <br>        while (PORTAbits.RA2) {};<br>                // toss the coin<br>
                dorand();<br>                // set the lights<br>   <br>        if (random_byte & 0x01)  {<br>                PORTAbits.RA0 = 1;<br>                PORTAbits.RA1 = 0;<br>            } else {<br>                PORTAbits.RA0 = 0;<br>
                PORTAbits.RA1 = 1;<br>            }<br><br>    }<br>    return (EXIT_SUCCESS);<br>}<br><br><br>_______________<br><br>which yields an error message of...<br><br>make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf<br>
<br><br>make[1]: Entering directory `C:/Users/Arun/MPLABXProjects/cointoss.X'<br><br><br>make  -f nbproject/Makefile-default.mk dist/default/production/cointoss.X.production.hex<br><br><br>make[2]: Entering directory `C:/Users/Arun/MPLABXProjects/cointoss.X'<br>
<br><br>"C:\Program Files (x86)\Microchip\xc8\v1.12\bin\xc8.exe" --pass1  --chip=12F1840 -Q -G --asmlist  --double=24 --float=24 --opt=default,+asm,-asmfile,+speed,-space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib "--errformat=%%f:%%l: error: %%s" "--warnformat=%%f:%%l: warning: %%s" "--msgformat=%%f:%%l: advisory: %%s"  -obuild/default/production/cointoss5.p1  cointoss5.c <br>
(908) exit status = 1<br><br><br>make[2]: *** [build/default/production/cointoss5.p1] Error 1<br><br><br>make[1]: *** [.build-conf] Error 2<br><br>cointoss5.c:2: warning: missing basic type; int assumed<br>cointoss5.c:2: error: ";" expected<br>
cointoss5.c:19: warning: missing basic type; int assumed<br>cointoss5.c:19: error: type redeclared<br>cointoss5.c:19: error: conflicting declarations for variable "TRISAbits" (C:\Program Files (x86)\Microchip\xc8\v1.12<br>
<br>\include\pic12f1840.h:983)<br><br>make[2]: Leaving directory `C:/Users/Arun/MPLABXProjects/cointoss.X'<br>make[1]: Leaving directory `C:/Users/Arun/MPLABXProjects/cointoss.X'<br>make: *** [.build-impl] Error 2<br>
<br>BUILD FAILED (exit value 2, total time: 818ms)<br><br><br>_____________________<br><br>which would indicate I'm made errors in the source or I've set up MPLA|B wrong or both......  *LOL*<br><br>Ooooo.....<br><br>
;  )<br><br>Tim_1<br><br><br><br><div class="gmail_quote">On 20 June 2013 12:22,  <span dir="ltr"><<a href="mailto:hackspace-request@swansea.hackspace.org.uk" target="_blank">hackspace-request@swansea.hackspace.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Hackspace mailing list submissions to<br>
        <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:hackspace-owner@swansea.hackspace.org.uk">hackspace-owner@swansea.hackspace.org.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Hackspace digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Hackspace Digest, Vol 6, Issue 8 (Tim Moore)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 20 Jun 2013 12:22:48 +0100<br>
From: Tim Moore <<a href="mailto:timmoore47@gmail.com">timmoore47@gmail.com</a>><br>
Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 8<br>
To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
Message-ID:<br>
        <<a href="mailto:CAAEY5oNXfVFDCY3K7ApPFz6aDb%2B9RUq%2BXxsuqgv3ki4%2Bf2SqwQ@mail.gmail.com">CAAEY5oNXfVFDCY3K7ApPFz6aDb+9RUq+Xxsuqgv3ki4+f2SqwQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Quote 'It would be nice to hear some suggestions of things we could<br>
try in future<br>
workshops. '<br>
<br>
I'd vote for Pic A/D experiment and we had logic 0 to 5/3.3V example on the<br>
very enjoyable recent meeting.  The same 12F1840 has A/D capability (?).<br>
<br>
Given that 2 hours seems comfortable for all concerned the learning curve<br>
on getting the computer and hardware going will take less time, so more<br>
time for experimenting.<br>
<br>
:  ))<br>
<br>
Tim_1<br>
<br>
On 20 June 2013 11:26, <<a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a>> wrote:<br>
<br>
> Send Hackspace mailing list submissions to<br>
>         <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:hackspace-owner@swansea.hackspace.org.uk">hackspace-owner@swansea.hackspace.org.uk</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Hackspace digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1. Re: Hackspace Digest, Vol 6, Issue 7 (Tim Moore)<br>
>    2. Re: Re: Hackspace Digest, Vol 6, Issue 7 (Justin Mitchell)<br>
>    3. followup to 3rd technical meeting workshop (Justin Mitchell)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Wed, 19 Jun 2013 12:21:48 +0100<br>
> From: Tim Moore <<a href="mailto:timmoore47@gmail.com">timmoore47@gmail.com</a>><br>
> Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 7<br>
> To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> Message-ID:<br>
>         <<br>
> <a href="mailto:CAAEY5oOOizN3i3j4U2Ux3G-H377_syqK0KoESj0bA42F5JgpwQ@mail.gmail.com">CAAEY5oOOizN3i3j4U2Ux3G-H377_syqK0KoESj0bA42F5JgpwQ@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="windows-1252"<br>
><br>
> Brilliant !   Just order 2 of them !  now similar problem:-<br>
><br>
> Quote "The Programming device i was using was a PICkit 2"<br>
><br>
> so what do I search for on Ebay to locate a cheapie version from China?<br>
><br>
> the Farnell is is at least available but if China do one at half the price.<br>
><br>
> I got the software running on another laptop, not sure how to configure/use<br>
> use it and I assume I enter the 'C' code and make a hex file from with the<br>
> IDE.<br>
><br>
> I'll build the circuit first.<br>
><br>
> Many thanks for your support !<br>
><br>
> :  )))<br>
><br>
> Tim_1<br>
><br>
> On 19 June 2013 12:00, <<a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a>> wrote:<br>
><br>
> > Send Hackspace mailing list submissions to<br>
> >         <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> ><br>
> > To subscribe or unsubscribe via the World Wide Web, visit<br>
> >         <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> > or, via email, send a message with subject or body 'help' to<br>
> >         <a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a><br>
> ><br>
> > You can reach the person managing the list at<br>
> >         <a href="mailto:hackspace-owner@swansea.hackspace.org.uk">hackspace-owner@swansea.hackspace.org.uk</a><br>
> ><br>
> > When replying, please edit your Subject line so it is more specific<br>
> > than "Re: Contents of Hackspace digest..."<br>
> ><br>
> ><br>
> > Today's Topics:<br>
> ><br>
> >    1. Re: Hackspace Digest, Vol 6, Issue 6 (Tim Moore)<br>
> >    2. DMX512 (ceri clatworthy)<br>
> >    3. Re: Re: Hackspace Digest, Vol 6, Issue 6 (Justin Mitchell)<br>
> ><br>
> ><br>
> > ----------------------------------------------------------------------<br>
> ><br>
> > Message: 1<br>
> > Date: Tue, 18 Jun 2013 13:29:48 +0100<br>
> > From: Tim Moore <<a href="mailto:timmoore47@gmail.com">timmoore47@gmail.com</a>><br>
> > Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 6<br>
> > To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> > Message-ID:<br>
> >         <<br>
> > <a href="mailto:CAAEY5oMQJETTUa6JyjZjvUu8vS%2BpZZ6yL-uuetDkDQ_A6Sh-XQ@mail.gmail.com">CAAEY5oMQJETTUa6JyjZjvUu8vS+pZZ6yL-uuetDkDQ_A6Sh-XQ@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="windows-1252"<br>
> ><br>
> > Most constructive event last night !  In every sense of the word !  *LOL*<br>
> ><br>
> > Busy downloading the Linux version of the software needed.<br>
> ><br>
> > I've got a couple of 12F1840 on order but got stuck on the two usb<br>
> gizmo’s<br>
> > that  were needed.<br>
> ><br>
> > 1_   the usb to +5V adapter and<br>
> ><br>
> > 2_  the MPLAB to breadboard programming tool.<br>
> ><br>
> > Anyone got any thoughts on an Ebay (or anywhere else) link to get them ?<br>
> ><br>
> > Not knowing what they are called has resulted in viewing several thousand<br>
> > mobile phone adapters *LOL*<br>
> ><br>
> > :  ))<br>
> ><br>
> > Tim_1<br>
> ><br>
> > On 14 June 2013 12:00, <<a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a>><br>
> wrote:<br>
> ><br>
> > > Send Hackspace mailing list submissions to<br>
> > >         <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> > ><br>
> > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > >         <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> > > or, via email, send a message with subject or body 'help' to<br>
> > >         <a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a><br>
> > ><br>
> > > You can reach the person managing the list at<br>
> > >         <a href="mailto:hackspace-owner@swansea.hackspace.org.uk">hackspace-owner@swansea.hackspace.org.uk</a><br>
> > ><br>
> > > When replying, please edit your Subject line so it is more specific<br>
> > > than "Re: Contents of Hackspace digest..."<br>
> > ><br>
> > ><br>
> > > Today's Topics:<br>
> > ><br>
> > >    1. Re: Hackspace Digest, Vol 6, Issue 5 (Tim Moore)<br>
> > ><br>
> > ><br>
> > > ----------------------------------------------------------------------<br>
> > ><br>
> > > Message: 1<br>
> > > Date: Thu, 13 Jun 2013 13:41:03 +0100<br>
> > > From: Tim Moore <<a href="mailto:timmoore47@gmail.com">timmoore47@gmail.com</a>><br>
> > > Subject: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 5<br>
> > > To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> > > Message-ID:<br>
> > >         <<br>
> > > <a href="mailto:CAAEY5oP3rFuKAYmPAi7debKHcXPcvC_40P%2BgrRDe5eTo_VTdNA@mail.gmail.com">CAAEY5oP3rFuKAYmPAi7debKHcXPcvC_40P+grRDe5eTo_VTdNA@mail.gmail.com</a>><br>
> > > Content-Type: text/plain; charset="iso-8859-1"<br>
> > ><br>
> > > Very much hope to get to this event !<br>
> > ><br>
> > > :  )))<br>
> > ><br>
> > > Tim_1<br>
> > ><br>
> > > On 13 June 2013 12:00, <<a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a>><br>
> > wrote:<br>
> > ><br>
> > > > Send Hackspace mailing list submissions to<br>
> > > >         <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> > > ><br>
> > > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > > >         <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> > > > or, via email, send a message with subject or body 'help' to<br>
> > > >         <a href="mailto:hackspace-request@swansea.hackspace.org.uk">hackspace-request@swansea.hackspace.org.uk</a><br>
> > > ><br>
> > > > You can reach the person managing the list at<br>
> > > >         <a href="mailto:hackspace-owner@swansea.hackspace.org.uk">hackspace-owner@swansea.hackspace.org.uk</a><br>
> > > ><br>
> > > > When replying, please edit your Subject line so it is more specific<br>
> > > > than "Re: Contents of Hackspace digest..."<br>
> > > ><br>
> > > ><br>
> > > > Today's Topics:<br>
> > > ><br>
> > > >    1. [Announce] 3rd Technical Meeting - Mon 17th June (Justin<br>
> > Mitchell)<br>
> > > ><br>
> > > ><br>
> > > ><br>
> ----------------------------------------------------------------------<br>
> > > ><br>
> > > > Message: 1<br>
> > > > Date: Thu, 13 Jun 2013 10:20:57 +0100<br>
> > > > From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk">justin@discordia.org.uk</a>><br>
> > > > Subject: [Swansea Hackspace] [Announce] 3rd Technical Meeting - Mon<br>
> > > >         17th June<br>
> > > > To: hackspace <<a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a>><br>
> > > > Message-ID: <<a href="mailto:1371115257.9475.2.camel@justin.llw.rokcorp.com">1371115257.9475.2.camel@justin.llw.rokcorp.com</a>><br>
> > > > Content-Type: text/plain; charset="UTF-8"<br>
> > > ><br>
> > > > 7pm Monday 17th June 2013 - Castle Room, Fulton House<br>
> > > ><br>
> > > > Introduction to PIC workshop<br>
> > > ><br>
> > > > This meeting will be a hands on introduction to the PIC<br>
> > microcontroller,<br>
> > > > giving you all the chance to build a simple circuit and program the<br>
> > > > controller for it.<br>
> > > ><br>
> > > > All of the components and tools will be supplied, i have enough parts<br>
> > > > for 5 teams to work on their own projects, some example projects will<br>
> > be<br>
> > > > provided or you can make up your own.<br>
> > > ><br>
> > > > Could some people please bring a laptop with them, as ideally there<br>
> > > > would be one per team for you to write the software on. i will have a<br>
> > > > copy of all the relevant software with me, or download it in advance<br>
> > > > from the microchip website (MPLAB-X and the XC8 compiler)<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > ------------------------------<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Hackspace mailing list<br>
> > > > <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> > > > <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> > > ><br>
> > > ><br>
> > > > End of Hackspace Digest, Vol 6, Issue 5<br>
> > > > ***************************************<br>
> > > ><br>
> > > -------------- next part --------------<br>
> > > An HTML attachment was scrubbed...<br>
> > > URL:<br>
> > ><br>
> ><br>
> <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130613/c36e83aa/attachment-0001.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130613/c36e83aa/attachment-0001.html</a><br>

> > ><br>
> > > ------------------------------<br>
> > ><br>
> > > _______________________________________________<br>
> > > Hackspace mailing list<br>
> > > <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> > > <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> > ><br>
> > ><br>
> > > End of Hackspace Digest, Vol 6, Issue 6<br>
> > > ***************************************<br>
> > ><br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL:<br>
> ><br>
> <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130618/e0bb6eb9/attachment-0001.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130618/e0bb6eb9/attachment-0001.html</a><br>

> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 2<br>
> > Date: Tue, 18 Jun 2013 17:19:39 +0100<br>
> > From: ceri clatworthy <<a href="mailto:ceri.clatworthy@gmail.com">ceri.clatworthy@gmail.com</a>><br>
> > Subject: [Swansea Hackspace] DMX512<br>
> > To: "<a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a>"<br>
> >         <<a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a>><br>
> > Message-ID:<br>
> >         <CAO=DJn8CoiE1BeNF7hV4v=<br>
> > <a href="mailto:dx-bhW0rrM0kvcGHi8igz3zf1LgA@mail.gmail.com">dx-bhW0rrM0kvcGHi8igz3zf1LgA@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Sorry, but cannot remember who was looking for DMX512 stuff,<br>
> > but look at this:<br>
> ><br>
> > <a href="http://mbed.org/users/okini3939/notebook/dmx512/" target="_blank">http://mbed.org/users/okini3939/notebook/dmx512/</a><br>
> ><br>
> > Cheers<br>
> ><br>
> > Ceri<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL:<br>
> ><br>
> <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130618/064fc982/attachment-0001.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130618/064fc982/attachment-0001.html</a><br>

> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 3<br>
> > Date: Tue, 18 Jun 2013 21:06:32 +0100<br>
> > From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk">justin@discordia.org.uk</a>><br>
> > Subject: Re: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 6<br>
> > To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> > Message-ID: <<a href="mailto:1371585992.13612.5.camel@emerald.geode.org.uk">1371585992.13612.5.camel@emerald.geode.org.uk</a>><br>
> > Content-Type: text/plain; charset="UTF-8"<br>
> ><br>
> > On Tue, 2013-06-18 at 13:29 +0100, Tim Moore wrote:<br>
> > > Most constructive event last night !  In every sense of the word !<br>
> > > *LOL*<br>
> > ><br>
> > > Busy downloading the Linux version of the software needed.<br>
> > ><br>
> > > I've got a couple of 12F1840 on order but got stuck on the two usb<br>
> > > gizmo’s that  were needed.<br>
> > ><br>
> > > 1_   the usb to +5V adapter and<br>
> > ><br>
> > > 2_  the MPLAB to breadboard programming tool.<br>
> > ><br>
> > > Anyone got any thoughts on an Ebay (or anywhere else) link to get<br>
> > > them ?<br>
> ><br>
> > The usb-serial port that we were abusing for power is a PL2303HX<br>
> > <a href="http://www.ebay.co.uk/itm/321090000590" target="_blank">http://www.ebay.co.uk/itm/321090000590</a><br>
> ><br>
> > The Programming device i was using was a PICkit 2<br>
> > Official ones can be quite expensive, but there are many cheap clone<br>
> > versions that work just the same.<br>
> ><br>
> > The cheapest ones i see on ebay come from china, so expect a couple of<br>
> > weeks lead time on those.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Hackspace mailing list<br>
> > <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> > <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
> ><br>
> ><br>
> > End of Hackspace Digest, Vol 6, Issue 7<br>
> > ***************************************<br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL:<br>
> <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130619/3dc95cef/attachment-0001.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130619/3dc95cef/attachment-0001.html</a><br>

><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Wed, 19 Jun 2013 12:46:06 +0100<br>
> From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk">justin@discordia.org.uk</a>><br>
> Subject: Re: [Swansea Hackspace] Re: Hackspace Digest, Vol 6, Issue 7<br>
> To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> Message-ID: <<a href="mailto:1371642366.16196.8.camel@emerald.geode.org.uk">1371642366.16196.8.camel@emerald.geode.org.uk</a>><br>
> Content-Type: text/plain; charset="UTF-8"<br>
><br>
> On Wed, 2013-06-19 at 12:21 +0100, Tim Moore wrote:<br>
> > Quote "The Programming device i was using was a PICkit 2"<br>
> ><br>
> > so what do I search for on Ebay to locate a cheapie version from<br>
> > China?<br>
> ><br>
> > the Farnell is is at least available but if China do one at half the<br>
> > price.<br>
><br>
> 'pickit 2 clone' i see one for ÂŁ11.66<br>
><br>
> or get a 'pickit 3' if you want better features.<br>
><br>
><br>
> > I got the software running on another laptop, not sure how to<br>
> > configure/use use it and I assume I enter the 'C' code and make a hex<br>
> > file from with the IDE.<br>
><br>
> The handout went through all the steps for writing the software, other<br>
> than the (hopefuly obvious) step of clicking 'build'<br>
><br>
> the reason i was using the hex file is that the pickit 2 driver thats<br>
> built into mplab doesn't believe it can talk to a 12F1840, but the stand<br>
> alone (seperate download) one does.<br>
><br>
> mplab believes you need a pickit 3 for that device, but they may well<br>
> update the software eventually.<br>
><br>
><br>
><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Thu, 20 Jun 2013 11:26:47 +0100<br>
> From: Justin Mitchell <<a href="mailto:justin@discordia.org.uk">justin@discordia.org.uk</a>><br>
> Subject: [Swansea Hackspace] followup to 3rd technical meeting<br>
>         workshop<br>
> To: <a href="mailto:hackspace@swansea.hackspace.org.uk">hackspace@swansea.hackspace.org.uk</a><br>
> Message-ID: <<a href="mailto:1371724007.18672.10.camel@quartz.geode.org.uk">1371724007.18672.10.camel@quartz.geode.org.uk</a>><br>
> Content-Type: text/plain; charset="UTF-8"<br>
><br>
> I have just updated the website with a copy of the pic workshop handout,<br>
> now updated to include bugfixes, and a circuit diagram.<br>
><br>
> <a href="http://swansea.hackspace.org.uk/meetings/20130617.html" target="_blank">http://swansea.hackspace.org.uk/meetings/20130617.html</a><br>
><br>
> I learnt a lot about holding workshops, and i hope some of you got a<br>
> useful taste of how simple it can be to create circuits controlled by<br>
> software running on cheap micro-controllers.<br>
><br>
> It would be nice to hear some suggestions of things we could try in<br>
> future workshops.<br>
><br>
> I have a variety of sensors and devices that i have plans and ideas<br>
> around, the USB-Serial ports you saw at the workshop, dallas 1-wire<br>
> temperature sensors, the ws2811 based LED strip lights, and some newly<br>
> arrived 6-axis accelerometer/gyro sensors.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> Hackspace mailing list<br>
> <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> <a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
><br>
><br>
> End of Hackspace Digest, Vol 6, Issue 8<br>
> ***************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130620/b62c83d4/attachment.html" target="_blank">http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20130620/b62c83d4/attachment.html</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Hackspace mailing list<br>
<a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
<a href="http://stoneship.org.uk/mailman/listinfo/hackspace" target="_blank">http://stoneship.org.uk/mailman/listinfo/hackspace</a><br>
<br>
<br>
End of Hackspace Digest, Vol 6, Issue 9<br>
***************************************<br>
</blockquote></div><br>