Quantcast
Channel: MEL PICBASIC Forum
Browsing all 4787 articles
Browse latest View live

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 Article


LCD 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 Article


MPLABX 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 Article

some 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 Article

Image may be NSFW.
Clik here to view.

Need 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 Article


MQ-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 Article

Testing 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 Article

How 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 Article


Max7221

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 Article


How 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 Article

Image may be NSFW.
Clik here to view.

Nixie Counter to Clock Modification with PBP

Hi Guys :) Here’s 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 Article

rtyhrt tr

British and Irish Lions vs Highlanders Live Stream

View Article

Warren Gatland hoping to build momentum

Lions vs Highlanders Live Stream Highlanders vs British and Irish Lions live stream

View Article


Lions vs Highlanders stimulate protests programme beneficial

Lions vs Highlanders Live Stream

View Article

the Kiwi view on all the action

Lions vs Highlanders Live Stream

View Article


Lions vs Highlanders expressed a great programme establishment relations

Lions vs Highlanders Live Stream

View Article

What is about Time Square?

Highlanders vs British Irish lions live stream

View Article


rtytryrt

Highlanders vs British Irish lions live stream

View Article

On the way to forest

australia vs brazil live stream

View Article

Does 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
Browsing all 4787 articles
Browse latest View live