Hi Darrel,
Thanks for your help. I'm sorry I haven't followed through with this yet.
I discovered wet carpet in a spare bedroom and traced it back to a leak in the bathroom.
Rotten floor,...
Type: Posts; User: Byte_Butcher; Keyword(s):
Hi Darrel,
Thanks for your help. I'm sorry I haven't followed through with this yet.
I discovered wet carpet in a spare bedroom and traced it back to a leak in the bathroom.
Rotten floor,...
I'm sorry Darrel, I'm getting to where I can't even cut & paste the right code anymore.
I think I need to step away from the keyboard and go make some cookies or something instead.
THIS gives the...
Thanks Darrel!
I knew I'd done something stupid and that was it!
Welll... part of it.
It did indeed get rid of those errors, but it brought up some fresh ones.
6123
I'm clearly still...
Well, now that I've switched from PBP2..6 to PBP3 I seem to be having trouble with DT_Interrupts in some "previously working" code. :(
I've read the manual about migrating from PBP2.6 to 3.0, and...
Sounds rather painful.
How about modulus? (remainder)
2540 // 1000 = 540
Ahhhh... do we have a Microchip engineer lurking in our midst? :)
Greetings Brett!
AN220 looks like a good read. Thanks!
(Hmmm... I think I've seen your name on other Microcips AN's as well)
Have you set the pins to be inputs using TRISA?
(Heckler's post #5)
Unless those pins are set as inputs, all other effort will be wasted...
Steve
We're not necessarily misinformed... we just have a lot of old stock to burn up still. :p
Here, I'm familiar with the MAX6675 so I'll give you a start...
This should read the MAX6675 and display degrees C & degrees F on a LCD display.
(Pin aliases for LCD not shown, only for the...
I'm not familiar with the 18F4515, but this line looks odd to me...
@ CONFIG OSC = INTIO67 ;config for internal osc
INTIO67 ??
NORM!
This works great!
I tested it with my circuit and it works perfect down to at least -20C (-4F) which is as cold as my freezer goes. :)
So that should cover the full range of temperature now....
Well, I got lost in a world of fire wood this week and haven't had a chance to look through all these great suggestions. But THANKS to everyone for the input so far. Hopefully in the next day or 2...
Thank You Heckler!
That looks like exactly what I need!
I should have known that Darrel had already written something cool to cover it. (Thank You Darrel !!)
I'll have a read through that...
--------------------------------------
I have a temperature sensor (MCP9800) that spits out a 12 bit - 2's compliment number that represents degrees C from - 55 C to + 125 C.
5996
12 bits of...
I've gotta go stack wood, so this is quickk and needs fixing, but this is the sort of thing I was thinking:
count = count + 1
If count < 33 then address = 1 'all...
Swimming pool submarine?
I think instead of having 31 consecutive memory locations that contain a "1", I'd just store the first 1 and arrange my code so that when it looks up those locations they all point to the one slot...
OK, it was only a serving suggestion.
I think you taught me last year about the joys of volunteering.
Nope, that didn't work.
OK, 8 bit math then....
Thanks!
Yes please! I'd like to 2nd those thoughts.
The wiki area is terribly depressing to wade through only to find most of it is empty.
An index of the articles somewhere "up front" would be great.
OK, curiosity got me so I tried it with WORD values and it still seems to work...
x = 32768
Y = 32769
x = x + y
Result: X = 1, STATUS.0 = 1
'--------------------------------
x = 32768
Digikey?
Mouser?
Audio chip? LM380 :)
Ah, you asked because I used "volume" as a variable in my question...
Actually it's not an audio project. It's for FrankenGriddle.
...
IF !STATUS.0 THEN Volume = 0
Darrels way works with a 16F887.
Can't vouch for any other chips...
Wow... thanks Darrel. THAT is an interesting item to know about.
I'm sure I can make good use of that!
Ioannis, I'm using a 16F887. And thanks for helping explain the STATUS thing!
steve