it's not supported? there is a solution?
it's not supported? there is a solution?
Hi,
This is probably not what you want to hear but 2.46 is now 11 years old, released in 2005 while the 16F1786 seems to have hit the market around 7 years later.
Support for it was added to PBP in version 3.0.7 back in 2013.
I don't know if it's possible to "manually" add support for that chip in the 2.46 but what you can obviously do is to upgrade you version to something a "slightly" newer.
/Henrik.
the 12bit analogic ports and the chance to set the reference voltage to 1.024,2.048,4.096 volts for them
Ok, I'm confused (easily done !) - your other post mentions you are monitoring temperatures as you stated you want conditional statements to result in some output being on between a set temperature range. What probe are you using? and why do you need the voltage reference and 12 bit ADC ?
Ignore me... it wasn't you that generated the post on temperatures....
Last edited by Scampy; - 13th March 2016 at 00:08.
hi, i hv some problem for my project
how to do it if u want condition like this
( temperature from 29C to 35C, the bulb will ON that means the bulb will ON if temperature <29C until temperature = 35C
but when temperature >35C the bulb will OFF until the temperature reach to or below 29C and that condition will repeat)
sorry for my word, i hope someone can give a some advise or hint to help me
thanks
Your question is a bit contradictory.
You say to have the bulb ON if temp is between 29-35 C.
Then trying to explain more you say bulb ON if temp < 29 and until temp reaches 35.
Please clarify what exactly you want.
Ioannis
What exactly is your project, it sounds very much like a thermostat of some description ?
What is the reason for choosing a 16F1786 over other PICs that are supported in the version of PBP you have ?i haven't the 16F1786 in microcode studio list (pbp246), what can i do?
So you want the light on when the temperature is between 29c and 35c, then you could try something like this.. crude but should work
Code:temperature var byte lamp var PORTA.1 If temperature <29 or temperature >35 then low lamp If temperature =>29 or temperature =<35 then high lamp
Last edited by Scampy; - 11th March 2016 at 17:20.
Bookmarks