YESSSSS!
It's working ! Finally pinned it down to the power supply. If I supply the PIC separately from the optocoupled transistors it all works. very many thanks to all you patient and helpful...
Type: Posts; User: DavidFMarks; Keyword(s):
YESSSSS!
It's working ! Finally pinned it down to the power supply. If I supply the PIC separately from the optocoupled transistors it all works. very many thanks to all you patient and helpful...
k the latter as I do not really know the significance
tried to interpret your config line in pm terms got the @device to work with MCLR and Lvp but didn't recognise CP. None of this made any difference. However after a lot more somewhat uneducated...
starting to reveal my ignorance ! I don't really know how I have MCLR set this is an area I do not understand well. I already had trouble because I initially thought I was using MPASM when in fact i...
I tried reducing the start point of the if then that controls the delay from 400 down to 200 delay. The program now runs for 1 min 55 but gets further into the program. In fact it gets part way thru...
Three minutes 43 seconds (got slightly further thru the loop that time I think !)
No go so far I'm afraid tried the new code but there are a number of errors which I haven't checked out yet. Tried switching watchdog timer off and have put lots of capacitance across the 4.8 volt...
OK Just didn't want to clutter up the forum with my lengthy and probably badly written code, but here goes !
'***********CHRISTMAS STAR PROGRAM FOR OPERATING *************
'**********A 16 ARM...
Spoke too soon !... Not about the shepherds and wise men but about the program working. I have been programming a whole load of different sequences one after another. They have all worked ok until...
Very many thanks. I now have the system fully operational and can start programming the Star of David which should now be appearing in the village tomorrow evening. It might not seem much but by...
Thanks for that.
My original circuit had three octal darlingtons (ULN 2803) with inputs directly coupled to Ports A, C and D I have also connected leds with 680ohms to each pin so that I can see...
Hi
Before I post the code I seem to remember that there is a particular etiquette for including code in a post but I can't find any reference to it. Just thought I'd ask as I dont want to upset...
Hi again,
Got the porta I/O proble sorted insofar as i can now switch on any of the a port bits and light an led. Or so I thought, I wrote a program which switched on each bit of the port in turn...
Many thanks for that, Had a quick look at the link ..looks just the thing I wanted, Bit late to study now, bedtime & just got in from g daughters school musical. Age ? put it this way, Faraday hadn't...
Sorry you are right, there is no crystal (it's my age) I still haven't figured out where the terms in your config expression come from. They are clearly assembler terms of some kind
Hi,
I have set the oscillator to internat but since the crystal is already mounted on the 44 pin board I did not really want to remove it ! .. and yes I dis like the shift register idea but need...
Hi
My secular star of David has 16 arms each with 8 hi-brite leds so the easy way (i think) is a matrix which requires 24 I/O pins. Whilst I could use some other Ports it would be nice the way I...
Thanks Duncan thats very helpful. Bit of bedtime reading of the data sheet.
This isn't the star of David that rose in the east this is the one that rises in the west then flashes and rotates etc. ...
Thanks Jumper I take the point. Now another daft question. In order to get my Christmas "Star of David" working I need three 8 bit ports and was planning to use the 44 pin demo board. Port A.6 and...
Thanks for that Darrel, works a treat although I am still not quite sure why I need to clear PORTd before using TRIS. It has always seemed to me that there is a real need for a genuine idiot's guide...
Just returning to PIC programming after a years gap and seem to have forgotten what little I knew. Have just bought the PICkit2 to use in conjunction with PICbasic Pro. Managed (with some difficulty...
Thought the osc had to be set to intrc to use the internal oscillator, now realise it should be set to XT. Have now written simple program to switch on all port b pins, pause and swithch them off...
Whoops, finger trouble, I meant 16F628A !
I am attaching the hex file for the 16f626A which is currentlt running my old star but which when (apparently) programmed into a new chip doesn't run. Can't see how to add a hex file so have...
Thanks Steve.. I,m now going to demonstrate my ignorance .. I'm not sure I understand about programing the config fuses, just produced the program the way it seemed to work in the past. I will now...