How can you understand ADCON?
Hi All, Trying to understand how to set "ADCON". We start with ADCON0, then ADCON1, then ADCON2. Is this the same as setting RA0-7 to either a 1 or a 0? 1 meaning the RA is analog and 0 meaning it is...
View ArticleLCD code makes no sense
Here is a page that has code to run the LCD with PBP. I have no experince with LCDOUT so looking for decent tutorials (aren't any really). http://melabs.com/samples/PBP-mixed/lcd.htm Huh ? ! It has a...
View ArticleMPLABX shows PBP Plugin Update; Won't Install
Hi - I have MPLABX 3.55 with PBP Plugin 3.1.0.1 installed. Every time I open MPLABX it announces that an update to the PBP Plugin is available. It says: "The following plugins will be updated: PBP Tool...
View Articlesome problem with a pic adc
i try to work with the adc (12bit) of the pic16f1786. My settings are as follows: ANSELA = %00010111 ADCON0 = %01111101 ' Using 12 Bit, Fixed Voltage reference ADCON1 = %11110011 ' 2's Compliment, FRC,...
View ArticleNeed suggestions for passing audio signals with a microcontroller
Hello, I want to replace expansive multi-deck rotary switches with a micro-controller and digitally controlled (i2C or ISP) analog switches. It will be used in a vintage (1972) discreet transistor...
View ArticleMQ-7 Sensor
Looking for a Code Example to use with a MQ-7 (Carbon Monoxide Sensor) to control the heater. Vh should be at 1.5V + or - 0.1v low voltage when detecting CO and at 5v + or - 0.1v when not detecting. I...
View ArticleTesting Bits in variables..
Am I missing something here? I have a declared word variable and byte variable. Why can't I test bits in the word variable using the byte variable as the pointer? Count1 being 0-9 in this example. I...
View ArticleHow does the code get transferred?
Hi All, I do not understand a variable labeled as Wdata and some how it gets transferred out of the PIC to the device being controlled. I can understand if you are using a command such as Hserout but...
View ArticleMax7221
Hi, I'm using MAX7221 display driver, I know how to set it up. I need to send serially a 16 bit number to the display, but I found that I need to decode the number into digits digit 1, digit 2... etc....
View ArticleHow do you display the code lines?
Okay, another basic question. You have a program and you can see the line numbers in the left margin in the editor. How do you print these line numbers with your code?
View ArticleNixie Counter to Clock Modification with PBP
Hi Guys :) Heres an easy way to use a nixie frequency counter as a nixie clock without making any modification to the counter at all. PBP code is small, and can be easily seen in the video, and the...
View ArticleWarren Gatland hoping to build momentum
Lions vs Highlanders Live Stream Highlanders vs British and Irish Lions live stream
View ArticleLions vs Highlanders stimulate protests programme beneficial
Lions vs Highlanders Live Stream
View ArticleLions vs Highlanders expressed a great programme establishment relations
Lions vs Highlanders Live Stream
View ArticleDoes a counter value get processed?
Hi All Again! So my next question is when you have a loop and you have a statement such as C = 0 to 6 the ICD will show the value of C and I noticed that C will have a value of 7, one higher than the...
View Article