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

Converting dec to hex, no built-in support?

I need to convert decimal value to hex, to send it to RTC. Seems like PBP has no built in convertors? I have hex values such as rtcmin, rtcsec, rtchour and so on. I have a decimal variable which...

View Article


OSCCON=$60 Help Please 16F628

Hi All Attempting to set up a serial comms unit to control a MP3 player. But issues with compiling this bit:- Code: DEFINE OSC 4        'Set oscillator in MHz             'OSCCON = $60    '4 Megs Xtal...

View Article


Trouble Receiving Serial on PIC16F690

Hi— I’ve been stumped with a problem for the last two days. I am using a PIC16F690 and trying to do serial communication with it. I am able to successfully send serial out using both HSEROUT and...

View Article

ADC input signal filter selection

HI Folks, I'm brand new to the forum and really appreciate your support- Thank You!. I have a question; I recently designed an A/D circuit which worked wonderfully on my breadboard and also when I...

View Article

Need help with Path new install

Im having a path problem mpasmwin cannot be found some place there was a sheet explaining this and I cannot find it Executing: "C:\Program Files (x86)\PBP3\PBPX.EXE" -ampasmwin -k# -p16F876A...

View Article


PIC12F1840 & serout2

Hi, Anyone used the PIC12F1840 with serout2? Any tricks to it? I can't get anything out. Regards, Troy

View Article

It is Y2K19 but DS18B20PAR+ Returns either 127 or 85 depending on resistor...

Hello, I'm trying to get this sensor working with PIC16F1519. It is connected to PORTD.1 and MAX7219 display to PORTC. Nothing else. I'm using 4.7k resistor to deliver voltage to it. But it does not...

View Article

PORTA.5 not responding on 16F18346??

Bizarre behavior that I cannot explain on the PIC16F18346... any suggestions would be more than welcome. Simply put, MYLED does NOT flash, but the output from the pin remains LOW. meanwhile, MYLED1...

View Article


Hserout questions

Hi All Attempting to get some serial communication working with a 16f628 (4Meg Xtal) My defines are as below :- DEFINE OSC 4 DEFINE HSER_TXSTA 24h DEFINE HSER_RCSTA 90h DEFINE HSER_BAUD 9600 DEFINE...

View Article


Shiftout question about the manual statement

In the PBP3 manual there is this paragraph: SHIFTOUT is a software-based command and does not require that the target device have synchronous serial capability. The ClockPin and DataPin parameters may...

View Article

Not or Invert

Very Very Quick question :- I have a digital input..... How do I invert it in software , Brain freeze :-( BR Andy Thank you all for reading

View Article

Elapsed timer data storage

Hello, I try to create a simple milliseconds counter with DT Elapsed timer. The program works as follows: after initial countdown starts the timer, next if I press the "mic" button the "lap or split"...

View Article

16f677 adc Issue

I am moving from a 16F684 to a 16F677 for more I/O and having an issue with RA0. If RA0 pin is disconnected (floating} I measure 5.2V. My Vcc is 4.98V. If I ground RA0 with 10K I measure 0.19V. I...

View Article


PBP3.1.2 (from PBP3.com)

Fixed bit-compare and bank-select for banks higher than 15 in K42/K83 families Fixed compile error when using arrays with 10F3xx Fixed HPWM for 16F18313/23, 16F1769 Changed default #CONFIG for...

View Article

Alternative Energy International Expo

There will be an Alternative Energy International Expo in Clearwater, Florida this March 23 and 24th. The venue is a 5000 square foot building with ample parking, vendors & speakers throughout the...

View Article


RISC instructions explained

A good video about RISC computer instructions

View Article

String formatting

two closely related questions: I have a serial interface 16x2 character LCD display, using DEBUG to talk to it, is working fine I want to format a label and a number like this (2 lines shown)...

View Article


Finding the MCU I need on MICROCHIP's website

Hi there, I'm asking for some guidance on how to use the MAPS or the Parametric Search Tool from MICROCHIP. My project consists of driving a 8x8 LED matrix. So, to make it a little more "easy" for me...

View Article

16F1829 PORTA.5 problem

Hello Folks, I'm struggling a few days how to set port RA5 on PIC 16F1829 as general purpose I/O (output). I try everything but no succes, I think the problem is around oscillator configuration,...

View Article

isd4003 arll that matterr

I need to record voice in an ISD4003. Using the audio input with a condenser mic isn't sensitive enough. I added a 1 transistor preamp which works well but it now has a ticking noise. Filtercaps...

View Article
Browsing all 4787 articles
Browse latest View live