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

please friends help a beginner with i2chello people I'm in big trouble i2c,...

hello people I'm in big trouble i2c, I'm using a pic 16F628A a 24c32a and eeprom proteus simulator I am using this code PORTB DEFINE LCD_DREG DEFINE LCD_DBIT 4 PORTB DEFINE LCD_RSREG DEFINE LCD_RSBIT 1...

View Article


DT_Timer error

"C:\Program Files (x86)\PBP3\pbpx.exe" -ampasmx -k# -os -p16f877a GalaxyMain.pbp Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC14.LIB 1183 : Symbol not previously defined (wsave) Error[101]...

View Article


owout not working on 16f77 ? (hangs)

no matter what I do, I cannot get owout to work on these 16f77's. works on 12f683 (used to read the serial numbers) tried it on other 16f's and always worked perfectly. this works on 16f917: Code: x...

View Article

PIC16F1824, problem with oscillator and RA3,RA4,RA5

I don't know what is wrong. I made the following code and i have 2 problems. -Pause 500 is not 0.5 second, it comes about 2 seconds When i replace RA0,RA1,RA2 with RA3,RA4,RA5 -I can't make RA3,4,5 to...

View Article

HPWM statement problems with 18F45K20

According to datasheet, 18F45K20 has up to 5 CCP/PWM modules, which itself have 4 PWM ports and can be configured independently. However, Picbasic pro has problem with them - none of them works, and in...

View Article


PIC16F887 fuse config statements for PBP anyone?

Hello. Due to project complexity, I have to switch to PIC16F887. I have two programmers, DIY K-149BC, which does not supports that IC, and I also have Microchips Pickit 2 device, which supports this...

View Article

Pic 16f737 lcd

Hi Everyone I just received my 16F737 from MELABS. I am using PICBASIC PRO 2.50C I have used an external 4MHZ Crystal and 2 10uf Capacitors tied to ground. I have also the PICBASIC PRO Book by Dougan...

View Article

Current Measuring

Hello everyone ; I need a simple solution to measure the current of a DC motor of which current changes between 0A - 1A ... Can you suggest me such solutions ? DC motor works with 12V and its RPM is...

View Article


Config Bits

I know this has been discussed and rediscussed, but I find none of the posts here useful. Presumably I'm just an amateur idiot in the making. Anyway. I have used a number of different compiler/ide...

View Article


Help with Maxim Ibutton "IF THEN ELSE" statements please

Hi thanks for reading this... Am attempting to sort out some Ibutton DS1990 security code.... I have this:- OWOUT iButton,1,[$33] PAUSE 100 OWIN...

View Article

12 bit A2D on 18F46K80, need a bit of help for figuring TAD and getting...

Hello All- I am working with a new chip (to me) and I am having difficulty in understanding how to figure the A2D on the 18F46K80. I looked into a post by Darrel on TAD but I don't seem to be able to...

View Article

18B20 and Multi_SPWM issue

Hi Guys, I've had a project running for some time now (http://www.picbasic.co.uk/forum/showthread.php?t=18456) which uses DT's Multi_SPWM routine to fade up the LEDS over a marine fish tank. The...

View Article

PC Java GUI for eprom changes - How'd they do that?!?

Hi Guys, Im fairly new to programming in general, however I have an application to help me learn, this might be well beyond my current abilities but I find it best to learn about things like this when...

View Article


Walk up proximity detector

Ladies and Gents, I've been asked to provide some sort of proximity sensor for a client. Ideally it would draw a meager amount of current so it could run off batteries and have a detection range of 1...

View Article

RTCC Issues PIC18F67J90

I'm trying to use the RTCC in the PIC18F67J90 with an external 32 KHz watch crystal. I've probed the crystal with my scope and shown that the timer is running it, but for some reason the RTCC refuses...

View Article


touble with a time calculation

Hi guys , having a mind block on a time calculation what i need is to set a time and show the amount of time that has occurred past (OVERTIME ) that set time the hours mins , sec is working ok as a...

View Article

I2C Questions

I am working with the RDA1846, the data sheets says the 7 bit control address is 1110001 plus a read/write bit does I2CWRITE add this read/write bit in the proper place or do I need add it to the...

View Article


Can't get the simplest of programs to run using internal osc and just...

Here is the code. It will not toggle the pin. I have to be missing something painfully obvious. I am hoping somebody will spot it immediately and while making me feel dumb, save me another 17 days of...

View Article

128x64 lcd ST7920 controller

Hi!, I am asking some help to connect the 128x64 LCD based on ST7920 controller in serial mode. I also need some examples on how to write on it using PBP . Thanks in advance for any help regards,...

View Article

I'm having problems with reading a AT24C1024 EEPROM

You guys can help me hello I'm having problems with reading a AT24C1024 EEPROM, I'm able to read a line of information, would like to know how to perform the reading of the other lines because the...

View Article
Browsing all 4743 articles
Browse latest View live