I am wondering if it is not a power supply problem. After a few minutes the the PS starts to fail/drop voltage.
Is the speaker direct connect to the PIC?
I am wondering if it is not a power supply problem. After a few minutes the the PS starts to fail/drop voltage.
Is the speaker direct connect to the PIC?
Dave
Always wear safety glasses while programming.
Step1.Fix the problems you know about first then hunt for more.
<br>
So how about disabling the analog stuff, ADCON, CCP . . . since you are using PortA.3
Last edited by Archangel; - 31st October 2008 at 00:48.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
well idon't know what is ( definitive ) the problem he umbrella the all issue in weird way ( chick datasheet and chick manual and all this stuff )
if you see any error need to fix . please give me some guidance with few code lines![]()
also show me haw END program as you mention
How about the PORTA.3 problem Joe mentioned?
This will help
http://www.picbasic.co.uk/forum/showthread.php?t=561
Dave
Always wear safety glasses while programming.
Go into the data sheet, I know it's painful, but go in there anyway . . . Look to see what state port A initializes in when it is reset, you will probably discover it defaults to <b>Analog</b> operation, since you want Digital, <b> YOU </b> need to tell it<b><font color=red> how to be digital.</font color></b> Lots of registers to set, If you want simple then use old grandpaw chip like 16F84, or 16F628A, only CMCON to worry about. If you want lots of bells and whistles then you have to learn how to play them.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
well i have all those pic's you wrote
but i don't want this circuit to work in my lab only
it will work in rough and dirty environment so there is other things must be worried about so the design have more dimension than you imagine
although am not from there but i bet you i worte more code lines than you
wither on asm , C18 , C32 , css , pic basic pro
take this advice
work more ....
and stop been futile person
Last edited by eng.alamin; - 31st October 2008 at 11:02.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
last word in your program on the last line should be . . .
this I believe is a compiler directive, tells the compiler to end your code there. There is at least one exception to this rule, but not here and not now.Code:<b><h2>END</h2></b>
Sorry about my English, I am American you know.![]()
Last edited by Archangel; - 31st October 2008 at 00:49.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
i didn't said any thing about your English or about you generally
but ...anywaythat is advantage you must take it in good way to be usefull
for ppl like me
well i may a dumb person but i wrote my code to be End less
therefor my last line is
did you notice that or.. or... you never saw the code in my first postCode:<b><h2>GOTO main</h2></b>
Bookmarks