Code for GCB and 12F683 LED Flash (Enjoy !)
Code for GCB and 12F683 LED Flash
Hello Jane and Welcome to the Group. I started in a very similar vane with MPLAB but frankly I found mandarin chinese much easier. I feel your best way forward would be to download and install Great Cow Basic and use that with its built in compiler which will talk directly to your PKit3. I an quickly put some code together for your 12F675 device which will get you up and running with a 'Hello World' LED FLash. Drop a line back here when you have installed your GCB GUI and I'll post the Code for you....
Not quite sure what you mean Evan, The line in the #config string is exactly what I'm using which is preventing me from compiling the project. Or, are you telling me to RTDF??? (Read the Datasheet First)
I'm busy with another barmy Christmas project but the program size is to big for my handy 12F675's so I want to move upmarket a tad by using a 12F683 which has a 2k program memory. Changing the device name as below: ~#chip 12F683,4 ~#config MCLRE=OFF, CP=OFF, WDT=OFF, OSC=INTOSC_OSC_NOCLKOUT Throws an error when I compile. 'Error: GCASM: Symbol OSCCAL has not been defined' Would some kind person please show me the errors of my ways or point me in the general direction of a more friendly device available...
Stan, you are a man after my own heart. Love the Charity shop info as I've never looked past Fleabay for junk stuff to strip and explore what makes it tick..
Good thiking Stan, but are you aware that your Smart Meter will become as much use as a pretty stone if and when you change energy suppliers. Like many folks I change my energy supplier as soon as one comes along with a cheaper deal and my contract expires.
Not quite sure I follow what you mean here Stan, the 16F18326 is an extremely versatile little device with a 32Mhz clock, 28Kb of Flash memory, 2Kb of SRAM and 256B of EEPROM. On the negative side, it is a right faff on programmed with the conventional PICKit as you need to use MPLAB ICE, however using the TinyBootloader, it’s a breeze. I use Atmel Studio and an AVRDragon to program ATtiny devices. I don’t want to know anything about ‘Arduino’ is he an Italian Ice Cream Man from Venice !