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

Read Write with 16F1527

Read Write doesn't work with 16F1527 (PBP3) Please help DEFINE EEPROM_START ? DEFINE EEADR ? length var byte Data @5,10 read 5,length write 5,length

View Article


ascii output problem

I have unit = v0(x) i am pulling this one byte out of eight LCDOUT $FE,1,DEC UNIT," ", UNIT," ",BIN UNIT," ",HEX UNIT here are four ways of showing the same var unit dec unit shows 0 correct unit shows...

View Article


Starting over with PICBasic Pro 3

Last year, I made a little progess with PICs, but not much. Now, I am trying again and remember why I gave up: total confusion. I have a working 16F84A on a homemade breadboard assembly. I have a 16 x...

View Article

LCDOUT with MPASWIN

HI, Cant seem to troubleshoot this problem. The LCD is showing random characters, This line Lcdout "Right: ", Dec right is showing right: XXXX ( The XXX are random characters) Also sometime i turn on...

View Article

Image may be NSFW.
Clik here to view.

Comic for March 4, 2013

View Article


16x32 dmd

hello; Do you have a code example of how you can drive modules are enclosed experienced friends I do not know English well http://i01.i.aliimg.com/wsphoto/v0/3...-Display-b.jpg

View Article

Is my USB programmer duff

Just now I find I can program a chip 16F628A, using ICSP, read its innards such as EEPROM, but cannot erase either EEPROM of program contents? This happens on two quite separate PCBs. But I can still...

View Article

Arraywrite Maxlength modification

From manual: Maxlength must be less than 256:confused: But I need limit array to 1000 bytes, so I decide to play with pbppi18l.lib Find Code: ARRAYWRITETO movf R6, F                ; Check for no space...

View Article


CCP1CON and CCP2CON strange behaviour - need some advice

Need some help here, I have an 18F4520 which has the ability for multiple PWM outputs via CCP1 and CCP2 pins. The code I'm using originally came from a friend who had this working on an 18F2550, but...

View Article


RTC with date and EEPROM

I'm making a datalogger and need date and time. The data (20 bytes) will be stored at 1 second intervals and I need to keep 7 days worth of information. The system will only be on approximately 1/3 of...

View Article

SPI devices in parallel.

I have a situation where I need to control between 50 and 100 digital pots at the same time. Well, within 5uS of each other. Can I parallel all of them as to enable CS for all of them at the same and...

View Article

Image may be NSFW.
Clik here to view.

Comic for March 5, 2013

View Article

PORTB.3 Input not working as expected.

Hi, I am having a problem with using port B as inputs. The inputs are inverted. Here is the code. Code: #config  __config _HS_OSC & _WDT_ON & _PWRTE_ON & _BOREN_ON & _CP_ON #ENDCONFIG...

View Article


Image may be NSFW.
Clik here to view.

Comic for March 6, 2013

View Article

test

hello, how can i verify that a resistor exist really (test method)

View Article


Image may be NSFW.
Clik here to view.

Comic for March 7, 2013

View Article

Take it from a big dummy - CHECK YOUR SPECIAL REGISTER SETTINGS!

Ok, wow, do I feel stupid now. About 10 or so days ago, I posted THIS THREAD because I was beating my head against the wall trying to get an interrupt to work. Since then, every evening, I have tried...

View Article


Image may be NSFW.
Clik here to view.

Comic for March 8, 2013

View Article

Guide on flow sensor application

Hi everyone, I have G1'1/4 Water Flow sensor from (http://www.seeedstudio.com/wiki/inde...er_Flow_sensor). As I understand I have to count the output pulse using RA4/TOCK1 using PIC16F877A(20Mz). My...

View Article

Example code for capture series of pulses, using internal timers?

Hello. Does anyone has some code? Just want to have look, how it should be done properly.

View Article
Browsing all 4745 articles
Browse latest View live