HERSOUT2 (Weird problem)
My baud settings are as follows: Code: DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0 DEFINE HSER_CLROERR 1 ' Clear overflow...
View Article16 bit conversion - AM2302
Hi guys, Following on from the thread when using a DHT11 sensor for humidity readings I've received my SHT11 / AM2302 sensor from E-bay. My current routine for reading the DHT11 is Code: read_dht:...
View ArticleSimplified PBP and VB6 USB template
I have stripped down Mister E's USB routine with DT INTs: Attachment 7773 It sends 2 bytes to the PIC (value of the 2 checkboxes), the PIC then returns in binary format to the PC whatever it received....
View ArticlePCB supplier in China ,Transactions By PAYPAL.
20% off !!!!!Direct Sale From China! Transactions By PAYPAL PCBJOINT(www.pcbjoint.com) is an professional PCB supplier in China, offering high quality product at competitive prices. 1- layer up...
View ArticleLine concatenation
This is ok in PBP v2.60c. Code: IF PORTB.0 = 0 THEN LCDOUT $FE,$C0,"Row 1, Column 4" ENDIF Why is this not accepted? Code: IF PORTB.0 = 0 THEN : LCDOUT $FE,$C0,"Row 1, Column 4" : ENDIF Quote: ERROR...
View ArticleSEROUT2 Question ?
Hi Thanks for reading... I have this code :- SERIN2 PORTC.5,813, [STR pass\4] Reads what I expect great at 1200 Baud.... My question is how do echo what is being entered back to the operator... The...
View ArticleOversampling techniques for adc
I want to know about oversampling techniques for getting 12 bit adc result from 10 bit adc micro.pls guide.
View Articlestrange word varable array results
Hi Guys i been looking at this for a while and i cant see why i am getting the results i am put simply i have an array of 6 words , which are cleared at the start i copy a byte into lowbyte of word0...
View Articletransfer a string from ROM to an array
Hi all, I'm using this code to load an array with a certain text string Code: inbuff VAR BYTE(100) arraywrite inbuff,["Sample test string"] I have many different string in variuos parts of the program...
View ArticleTrouble with codes
I ve been trying to solve this for like a month. Finally i got here.I am trying to create new hex file from below code but PIC16 Simulator IDE has given these errors.I've looked everywhere couldn't...
View ArticleCan Timer0 be used instead of Timer1 in DT Blinky?
Is it possible to use Timer0 instead of Timer1 on a 18F4550 using Darrel's blinky program? Code: @ __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L @ __CONFIG...
View ArticleCannot reset Timer0 properly
I can't figure out what other flag I need to reset to use Timer0 a 2nd time. Attachment 7792 Timer0 works for 50mS on the first keypress of the upper left button on the keypad. But it keeps on going on...
View Article4 x 4 Keypad on Port B (18F4550 with Lab X1)
Attachment 7794 Code: '*************************************************************************** '* Name : RHKeypad.pbp * '* Author : Demon...
View Article50mS counter on Timer0 (18F4550 on Lab X1)
Attachment 7795 Code: '*************************************************************************** '* Name : RHTimer0.pbp * '* Author : Demon...
View ArticleHersin timeout
Hi All Am using HERSIN with a timeout... My question is :- What is the longest timeout I can use.... As I want to use this to put the device to sleep if no input on RX pin after X mins. The manual only...
View Articleflash2ram
a macro to move flash memory string to a ram buffer Attached Files flash2ram.bas (3.1 KB)
View Article@ Sleep Usage & Need to Read PortB
Hi All, I wrote a little routine for putting PIC18F47J13 to Sleep and Waking Up from a key press. Works fine. Interested in the need to read PortB before @ Sleep? Reading various articles, I think the...
View ArticleSiemens SDA5708
Hi everybody, After almost 10 years of inactivity I'm back and with pleasure I see that the forum is still alive. I do not even remember my old nick, I will search if some my old posts are still there....
View ArticlePower OFF, 8+8 IOs controlled via sms
Hi aratti, Can you help me for 8+8 IOs controlled via sms? I have building a prototype of the project using TC35 modem. It works very well but when power-off the system and after power-on, it not sends...
View ArticleI2C RTC Problem with Pic18f46k22
I have been using DS1307 Real Time Clocks for some time now without problems. I am attempting to port a program I wrote a while back from a 18f4620 to a 18f46k22 and I can't seem to get the I2C RTC to...
View Article