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 Articleascii 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 ArticleStarting 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 ArticleLCDOUT 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 Article16x32 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 ArticleIs 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 ArticleArraywrite 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 ArticleCCP1CON 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 ArticleRTC 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 ArticleSPI 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 ArticlePORTB.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 ArticleTake 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 ArticleGuide 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 ArticleExample 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