16f676.zip
My DSN file attached.
16f676.zip
My DSN file attached.
I don't use ISIS/Proteus, but as per your configuration fuses, you must tie you MCLR pin to Vdd... make sure it is done.
Another thing... It's nogt a bad Idea to finish your program with an endless loop, so the LED will stay on.
I bet this will work, if you haven't tied you MCLR pin to Vdd
And from what I do remember of my venture with ISIS, you need to specify the osc speed... set it to 4MHz and try the above without specifying the configuration word value. If it's still not working, tie your MCLR pin to Vdd. Ought to work ... or throw away ISISCode:LIST P=16F676 #include <p16F676.inc> __CONFIG _CP_OFF & _CPD_OFF & _BODEN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT CLRF PORTC BSF STATUS,RP0 CLRF TRISC CLRF ANSEL BCF STATUS,RP0 BSF PORTC,4 BSF PORTC,5 BSF PORTC,2 BSF PORTC,3 goto $ END![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve is correct You need to either turn off MCLR or tie it high. As a side note, you have some hardware issues that will make you think the program doesn't work. It has to do with tying all the LED's together then through 1 resistor to ground. Also I think you have to edit the properties for the GND symble and assign it the name "GND" to make it be ground.
I am Very new to ISIS, but that has caused me trouble in the past.
Sorry bout taking so long to reply, had trouble getting on the forum yesterday.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Me too, and I guess everybody has too. Bah, it happen once in a while. No problem, nobody will die of it..., had trouble getting on the forum yesterday.![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the help. I tied MCLR to VDD & named the ground terminal 'GND'. Worked fine. I almost started having suicidal thoughts becoz of this. Thanks again.
Don't do that again, no SIM worth that much attentionI almost started having suicidal thoughts becoz of this.![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks