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

Use any pin as tmr input?

Is there a way to use any pin as an input to the timers? I need to add a feature to a currently in production design that reads 2 frequencies but the CCP1 and CCP2 pins are currently used for other...

View Article


Weak pullup on 18f2620

Quote: Each of the PORTB pins has a weak internal pull-up. A single control bit can turn on all the pull-ups. This is performed by clearing bit, RBPU (INTCON2<7>). The weak pull-up is...

View Article


vu-meter with a pic adc

how i can do it? And the audio signal must be rectified?

View Article

Is there a penalty for breaking early out of a For Loop with a Goto Statement?

I have a For Loop nested inside another For Loop and there will be times that I want to break out of the inner loop and outer loop before either of them finish. Can one do this with a GoTo without...

View Article

Pulse Input > Array > Output help

Hi All Im just playing around with some code that im trying to use to look at incoming pulses, write them to an array and then output them with a specific delay (ie an offset in the array) Pulses are...

View Article


HSEROUT with 18F2420 won't work

Hi, I'm trying to use HSEROUT instead of SEROUT/SEROUT2 with my 18F2420. As the code below works with SEROUT2, I only get garbage characters while using HSEROUT. I use a 4MHz crystal, defines come from...

View Article

Version control for PBP files/projects.

Hi, I'm interested to hear if anyone on the forum is using some sort of revsion control system, in general and for PBP specifically. I know there's Git and that it's very popular in the open source...

View Article

Problems Communicating to VCNL4040

Hi. Has anyone used a Vishay VCNL4040 proximity sensor? I appear to behaving problems communicating to this device via I2C. I have tried all weekend with no success. I am using a PIC18F26K22 @ 8MHz....

View Article


How to add two binary variables next to each other, without mathematical...

The question is. Say I have variable A, which is 1110 in BIN. And have variable B, which is 1101 in BIN. I want to convert them to single variable, which will read as 11101101 in BIN, by just adding...

View Article


Reading and storing pulses from 8 bit port

Hi Group, My plan is to read incoming pulses on the 8 input lines of a port, store/totalize in a long variable and transmitted when requested. The pulses are generated by 8 electricity meters, issuing...

View Article

Image may be NSFW.
Clik here to view.

Fake tp4056 parts - clone

Hi guys , Found seller was advertising original chips and pictured original chips , but sending out fake chips avoid this seller and save your money seller :Mega Semi contact: ice su aliexpress.com...

View Article

16-bit, 100ksps Single Channel ADC

The AD7680BRMZ is a 16-bit single channel single ADC with SAR architecture. The chip operates from a single 2.5V to 5V power supply and features throughput rates up to 100ksps. The AD7680BRMZ is widely...

View Article

Image may be NSFW.
Clik here to view.

New PCB Assembly Factory Free Stencil

Hello Everyone, EzPCB expanded the assembly factory,prototype to production,anyone need PCB & Assembly services,please feel free to contact EzPCB Free stencil for any assembly order. And stencil...

View Article


What's happening - the forums is quiet

Is it just that people are no longer using PBP anymore, or is the whole electronic hobby grinding to a halt ? This forum used to be buzzing a few years back, to the point that it was hard to keep up...

View Article

Image may be NSFW.
Clik here to view.

Using Processing to display data graphs

I have been working on a hobby project, telemetry on a model rocket, and wanted to be able to display some nice graphs from the data it generates. There are a lot of examples on how to use processing...

View Article


cannot find the reason for such a strange behavior

Code: if Flg_15 = True then @ INT_DISABLE  RX_INT                              ; disable RX_INT interrupts if Head = 15 & FlagTime = False then W2 = 0 gosub XB1adc gosub XB2adc 'gosub XB3adc...

View Article

Basic questions about Basic questions about PIC18F2550-I/SP Hi!

Hi! I'm very new to using PICs and I'm doing a school work about this, the idea of my work is this: that I can in windows press a button and then it will use USB to communicate with PIC18F2550-I/SP and...

View Article


I need a OSD to Display Text on Tv using RCA

Example http://www.garydion.com/projects/videoverlay/ Can this be done on pic basic pro thanks

View Article

8+8 IO sms controller project released

This project, 8+8 IO sms controller, by Aratti. I need the complete project, which I can not find. Please, email to videoaudio dot services AT gmail dot com

View Article

Can button be set to cause interrupt, and then it's functions changed?

Hello. The title looks a bit rubbish, but I don't know how to explain what I need. I need the following. CPU is sleeping, it has button connected. When user press button, cpu wakes up for defined...

View Article
Browsing all 4787 articles
Browse latest View live