I noticed a wrong configuration with the TRISD. I changed this and was still having problems. I decided to try connecting the LCD on a different pins and it appears to work now. Here is what I...
Type: Posts; User: jblackann; Keyword(s):
I noticed a wrong configuration with the TRISD. I changed this and was still having problems. I decided to try connecting the LCD on a different pins and it appears to work now. Here is what I...
Hello all. I have created a program that runs perfectly fine on a PIC16F690. The only problem is that I have run out of memory space on the 16F690 so I decided to move to a chip that has a larger...
I am trying to display the temperature of a temp probe using an LCD and a PIC16F690. The probe can measure temps from -40F to 185F. The output from the temp probe is from 0.5 to 4.5V, respectively...
I had a problem understanding this too. Here is another link that you can look at that explains the '*/' operator. http://www.picbasic.co.uk/forum/showthread.php?t=5545
Quote from Darrel Taylor...
With the code that I have written, I have a total of 4064 lines and need to add some more. The total available on the 16F690 is 4096. Is there anyway that I can attach a separate EEPROM chip and...
You might want to take a look at this thread also.
http://picbasic.co.uk/forum/showthread.php?t=4289
I am looking to possibly migrate from a 16F690 to the PIC18F2520 and am having problems when compiling it with Microcode studio. I am using PIC BASIC PRO 2.46. Not sure what version of MPASMWIN I...
I have been working on code for a small handheld programmer with a 16x2 LCD (that uses a 16F690) that will be used to program another circuit (that also has a 16F690). The programmer is used to...
Fatal MC56DD~1.MAC 226: [308] macro overflow
When I try to compile a program on my laptop I am getting this error but when I compile the same exact file on my work desktop I get the above error. I...
Hello. I have been writing code for some time in PBP and had a need to try to simulate it. I have gotten the code to compile in MPLAB but it tells me there are errors.
Here is what the error...
Hello I was wondering if someone can better explain what is happening when using the '*/' command. I had posted some months ago asking for help in converting a 10 bit analog to digital number into a...
I also wanted to add an auto shutdown feature to my controller. Does anyone have any suggestions as to what might be a good method for developing an auto shutdown? Thanks.
I am looking at making a small circuit that will be used with other circuits and uses an LCD to display different settings. I am planning on using the PIC16F687, or 689, or 690. Currently my design...
You have a few options that you could use. It all depends on what you are trying to do with your application. Is this something you want to produce or is this something you are working with at...
I compiled my code for the 16F687 and saw that it came up to 2042 words and I am still not done writing. I thought I would migrate up to the 16F689 and the code size jumps to 2571 words. Is this...
C7 VAR BYTE
Rx should be used as label and not used anywhere else.
I thought maybe I could use RETURN because I am doing a gosub to to jump into sub routine and then I want to exit that and...
Here is part of my code. This is for communication from one micro to another. I can't seem to find it. Thanks.
INITIATE_COMM VAR PORTA.2
SETUP_SERIAL_RECEIVE:
PAUSe 10
...
Is there a label restriction that exists? I am working with the PIC16F687 and am getting errors that telling me that ID XXX is not a label. When I look in the code explorer thing, I am finding that...
Hello. I recently picked up a PICkit 2 and wanted to use it for programming from Microstudio. There is a way to add a new programmer and I have tried to go through the setup. When I try to compile...
Have you ever received any advice on this? Have you made any improvements to your code? The only recommendations that I would suggest is using some GOSUBs to call things that you use frequently...
I am planning on using PIC16F687s on each end. I was going to have a cable directly connect the two micros which would most likely be only 3 ft long or so. In the future I might try to switch this...
I am looking to make a controller that will be able to interface to another circuit (I will call this the application circuit). The controller will be able to adjust different variable that would be...
I am trying to use the instant interrupts to add the funnctionality of interrupts to my programs but I am having problems with the example that found on Darryl's site. I was trying to do the example...
I wanted to take a reading off of a 10K pot using A to D on a PIC16F687 using 10 bits. I wanted to convert the A to D value of 0 to 1023 to a voltage 0 to 5V. I thought this might be helpful. ...
This somewhat works but I need to work through a way that it will display the value, 2.004 instead of 2.4 because the way I did it is with W0 = 5*AD_Value (AD_Value could be 0 to 1023). Then I did:...