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

Image may be NSFW.
Clik here to view.

methods to incorporate led in a keypad matrix manufacture

hi , i am,looking to incorporate leds into the matrix keyboard design and manufacture of the PET the current thought , where the keyboard used mr eds scan rouine where the rows pulled high( 4k7 )change...

View Article


Fyi: Pic12(l)f1501 4 pwm

I was just looking at some of these "small" devices and noticed that the PIC12F1501 has four (4) independent PWM outputs. The frequency is the same among them but duty cycle is adjustable individually....

View Article


How to coomunicate with MLX90614 IR sensor

The MLX90614 IR sensor communicates using SMBus which requires the Start bit be repeated without a stop bit in between. I saw one posting that looked like PBP that showed the I2CREAD as as working with...

View Article

Symbol not previously defined - lib file

I'm in the process of putting together a simple version of a project that has been running fine for years. Both use 18F series chips, the original being a an 18F4580, the new being an 18F2520. I've...

View Article

Help configuring 2 CCP interupts

I can successfully get CCP1 to work and display the measured period on an LCD using Timer 1, but adding CCP2 using Timer 3 does not work. It never interrupts and jumps to CCP2_INT. Pretty sure this has...

View Article


Help with multiple SPWM

I have the below program and want it to generate the following pwm signals. 1) 2khz HPWM this is working fine as shown by scope. 2) 25hz 50% duty SPWM this is working fine as shown by scope. 3) 25hz 7%...

View Article

USBIN pain

Hi all, I trying to send a two byte word down the pipe but I cannot get the received data to equal what's been sent. ASCII char are fine as each is one byte long. I can send a one byte number like 255...

View Article

12F1840 config issues

Hi All I searched for an answer to this but came up blank. The program has been reduced to a single serout2 command to test. It works fine on both a 12F683 and 16F688 with the correct configs but I...

View Article


WIFI video possible ?

Hi, I'M making project that requires to send video (24 images seconds) wireless to a TFT screen. I was told this was not doable since TFT screen cant take that fast refresh... Anyone knows about TFT...

View Article


hex dec ascii

Below is code to make porta.5 led come on, the "If V1>100 then high porta.5" does not work. I have basically the same code where I send out 28 receive data in hex shift it and then display it on an...

View Article

Faster DIG algorithm

Hi, I'm working on battery powered device. I need to extract 4 digits from word variable. PORTA.4=1 TmpB=Pressure DIG 3 PORTA.4=0 Looking on my scope it takes 985uS to calculate digit. TmpB=Pressure...

View Article

Byte from variable

Hi everybody. I do have a small issue.. I try to extract a bit from a byte, but it wont work. Can anyone explain how to do, and what im doing wrong. I have searched the forum and google, but just cant...

View Article

Did you know that... Dallas 1-Wire search trick/work around

Hey group, Just thought I'd relate my findings with respect to the 1-wire protocol. I have a project that uses two 1-wire devices. A DS18b20 temperature sensor and a DS2417 Real Time Clock. I needed...

View Article


Initialize variables

Hi. I use a PIC18F45K80 @ 64MHz. I have a seperate pbp file with my LCD menu code, witch I include at the end of my main code. In my menu file I declare some variables and initialize them. The strange...

View Article

12f683 variable HPWM and fixed pulse tick thickness

Hello. I'm pretty sure someone already post something like I need. I did a very simple program to sweep a frequency from 900Hz to 12KHz (Code below) But, I need my pulse thickness to be fixed at 5µs...

View Article


Migrating to 18F4420

I have a project that threatens to outgrow a 16F877A and so have upgraded to the 16F4420. This is quite a step for me as, I have not done much work with a 40 pin chip prior - and never anything with...

View Article

Using CLC (CONFIGURABLE LOGIC CELL) able PICs 16F1503/16F1508

Hello, I want to use CLC able PICs like 16F1503 and/or 16F1508. I can't find if my PICKit2 or PICKit3 will be able to program them. Does anyone know? I have PBP2.60 and MCS; will I be able to program...

View Article


Lcdout multiple variables issue

Having a problem with the LCDOUT Command on a PIC18F46K22 at 16MHz with a Vishay 4x20 LCD Display. If I use LCDOUT this way: Code: LINE1 = $80 LCDOUT $FE, LINE1, "01234567890123456789" It will work...

View Article

Micro Code Studio Crashing

Grrr. MCS keeps crashing. Any suggestions where to start looking? Error report says- Code: Problem signature:   Problem Event Name:        APPCRASH   Application Name:        CodeStudio.exe...

View Article

Gyro L3G4200D Code Request

Thank you for considering my request for help. I am struggling with reading data from the the Gyroscope L3G4200. I have tried SPI 4 wire and I2C. If anybody has worked this code out in PBP3 I would...

View Article
Browsing all 4787 articles
Browse latest View live