Loading data into ONLY 4 bits of a port - is it possible?
Hi to all, I am trying to use a port split between 2 variables. For example I want to load PORTC upper 4 bits with 4 bits from a variable WITHOUT altering the lower 4 bits of the port. I will also need...
View ArticleInterrupt not working?
Hello everyone, I'm trying to build an application that will simply trigger relays using sms on GSM module. What I have done so far (basically).. 1. Get GSM signal and manufacturer 2. Send sms Now I'm...
View ArticleIR Temperature Sensor
I developed the following code in PBP3. I am having trouble getting it to work. I would like to see the temperature data that gets stored in the AmbTemp and ObjTemp memory by the I2C command. The data...
View ArticleMultiple PICs on usart network
Hi, This is what my circuit looks like: Attachment 6709 - The 18F4550 sends 1 byte to the slaves on Master TX line. - Both slaves receive the byte properly. - 1st slave replies successfully with same...
View Articlepic16f88 Serial questions (hserin/hserout, etc.)
I'm trying to send a decimal number (0-999) from an arduino (mega2560, not important) to a pic 16f88 via serial. I'm new to this, but the pic doesn't seem to be receiving and/or processing the data....
View ArticleYet another SERIN2 problem - Conversion from Basic Stamp
Hello all, i need your help to convert my code from basic stamp2 sx. I'm trying to read the frequency of an ICOM shortwave receiver. Here is my easy working basic stamp code : Code: ' {$STAMP BS2Sx} '...
View ArticlePIC16F887 erratic behavior with DT interrupts
I've been working on a program that uses Darrel's interrupts (thank you!) that has worked fine until I added more code. It uses portB interrupt on change. I am using PBP3 and Microcode Studio plus and...
View Articleweird RS232 problem......
Ok everyone....I have spent many hours trying to figure this out. I am trying to talk to an Entertron PLC through a 18F4550 PIC. I have the serial routine working through a terminal emulator with no...
View Articletoggle switches and buttons-- need little help
Thanks in advance to all who help. Im working on a project where there has to be provisions for the following: 2 sets of momentary pushbuttons: Set1 ON/OFF (turns an LED on / off) Set2 ON/OFF (turns an...
View Articleerror in timing with pause command
Hello Everyone. I have a weird problem with the pause command on a 12F675. This code snippet should make GPIO.4 high for 10 seconds but only goes high for less than 8. I'm using the internal oscillator...
View ArticleTrouble getting started
Trying to compile a simple program for a PIC12F683 using PBP 3 in MPLAB. I am getting the following error: Error[118] C:\USERS\MIKE\DESKTOP\STUFF\PROJECTS\GOLDWING TRUNK OPENER\GOLDWING TRUNK...
View ArticleHow do I include the device name in the .hex file in PBP 3?
I hope the subject line explains what I need.
View ArticleWhere can i ask re asm programming problem with bcd subtraction
As per title. I know this is pbp forum but I can't seem to find a suitable forum to ask a question ref assembly language. I have a 10 digit number stored in 5 byte variables as packed BCD representing...
View Article