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

different sampleus time for three ADCs

I've seen the manual and suggest to use DEFINE ADC_SAMPLEUS X but when I need different values for them, in my case 10000 for ADC1 and 1000000 for ADC2 AND ADC3, How can I do it if there is only one...

View Article


siren sound with tmr0

Hi Everyone! I wanna make siren sound with 16f628a and timer0. I find on the web and found the tmr0 solution. I did make program, but can't take good result. Do you have sample program for me with tmr0...

View Article


Need help on PPD42NJ SPI sensor

I have been experiment with the PPD42NJ SPI particle sensor,I can read the pulse width from the sensor output,but how can I convert the reading to a meaningful figure,at least it can give me some...

View Article

Experimenting with PicBasic Pro Compiler by Les Johnson

The book Experimenting with PicBasic Pro by Les Johnson is out of print. I just purchased a used copy of the book, but the CD-ROM with sample files was not included with my purchase. Does anyone have...

View Article

Help Needed with DT Instant Interrupts

Hi All. Between 2001 and 2009 I did an awful lot of PBP programming and wrote many programs however one thing I didnt use was DT Instant Interrupts. I returned to Pic Basic programming in late 2014. At...

View Article


Csv file transfer directly into excel using vb for serial coms

Hi Guys, i am looking to run Excel with a VB script running in Excel to capture the CSV data directly the data would then be available to be directly view fields provided with the Excel sheet Looking...

View Article

PBP 3 will not compile

I have installed pbp 3 on a Windows 7 machine and have registered with correct serial number. When I compile the asm file using microchip mpasm tool suite it compiles correctly. If I try to use the...

View Article

PCA9685 turning all outputs on / off

I'm working on a project that uses the PCA9685 chip. The chip is set up using the following code, which I confess was provided for me by a friend, but I get the gist of things in that it resets the...

View Article


Internal Osccillator help

I try to use the Pic18F family of MCU,I notice that it have internal oscillator and need no external crystal oscillator,but how to set it to work?I have try it and nothing happen,the code works fine...

View Article


program runs and stop

hi i need help, my program runs and stops at a certain line, at PORTA = 0, i.e after TRISC = %00000000 ( checked with the ICD compile). i use pic16f886. what could be the prolem? compiles successfully...

View Article

Image may be NSFW.
Clik here to view.

OLED Display Noise problem

Hello everyone ; I've been working on a project which requires an LCD display then I decided to get an oled in order to free some pins also to ease the PCB design and I purchased an OLED code named EA...

View Article

How to set pin to digital by default? PIC18F24J50

Hello there, I have a PIC18F24J50 and I want to set pin 0 of port A to digital pin inorder to have a push button turn an led on and off. I have a C code that is working and sets pin 0 of port B to...

View Article

Image may be NSFW.
Clik here to view.

File won't compile in PBP 2.6

Hi All, I am very new to PIC programming. I started out with the 12F683 and played with it for a while until I was comfortable with it. I then bought several types to experiment with. I decided to make...

View Article


Pic18 and RN42 bluetooth communication problem using UART

Hello everyone, I have a RN42 bluetooth module in HID profile that I am trying to get it working with PIC18F24J50. I have a code in arduino that is working and basically moves the cursor.I want to do...

View Article

Image may be NSFW.
Clik here to view.

OT - Bluetooth serial comms issues

hi, Not really related to PBpro, but I wondered if someone might be able to offer some further suggestions to an issue I'm having problems with and can't get my head round as to whats happening. I use...

View Article


High out of memeory errors with mcsx and win10 64b

HI , GUYS about 3 months back i loaded win10 64b ver on the system that i run MCSX editor / compiler on ever since then i on average get about 4-5 "out of Memory " errors a day , done the search for...

View Article

updated and cannot compile

I received a notice that i needed to upgrade so i went to the link and updated and now none of my programs will compile I get this message ERROR: Unable to execute mpasmwin.Skipping link step. Not all...

View Article


Production programming

For the first time I have to provide firmware for an assembly company to program boards on an assembly line at around 20,000 units a year. I've only ever programmed at low volume which I do manually...

View Article

Pb3 pic12lf1571 asm error

I am attempting to program a PIC12F1571 in PBP3 and not sure why I am getting the following ASM ERRORs. I am not using the serial port. I updated to the latest PB3 3.0.9.4 &it updated MPLAB....

View Article

How to use PIC18 with MCP USB Chip to do HID?

Hello all, I would like to create a mouse device using a pic18f24j50 and a mcp2200 or mcp2221 USB chip to do HID. Both these chips come with proprietary DLLs.So I am not sure how I can use them in...

View Article
Browsing all 4745 articles
Browse latest View live