9362
I have solved the problem, I attach image :D
Type: Posts; User: josepic; Keyword(s):
9362
I have solved the problem, I attach image :D
9361
I have solved the problem, I attach image
I have solved the problem, I attach image
I am in a symmetrical source project with pic 16f886, but in the proteus simulation the voltage values displayed on a 20x4 lcd, and these values are different from the registers in the proteus dc...
I will try and thank you very much for your help
In my previous code I had many errors due to the mathematical equations and I was able to partially correct these errors using the fp2032.bas library.
even the code continues with the errors in...
9355
previously I had this code using pic 16f877a
DEFINE LCD_DREG PORTD
DEFINE LCD_DBIT 4
DEFINE LCD_RSREG PORTE
DEFINE LCD_RSBIT 0
DEFINE LCD_EREG PORTE
DEFINE LCD_EBIT 1
consider that through google drive I was able to share the video so that they could see the proteus simulation, and see the code failure when the positive and negative voltages are displayed, that...
https://drive.google.com/file/d/11pNGsWwOuIejz0-MrePI4xmuhMMrPdIk/view
I attached a video link where you will see the code failure.
You will see in the ldc 20x4 the negative voltage is...
'Config for 16f886
#CONFIG
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_ON & _CPD_ON
#ENDCONFIG
include "fp2032.bas" ' Include file for 14-bit core...
I am in a symmetrical source project with pic 16f886, but in the proteus simulation the voltage values displayed on a 20x4 lcd, and these values are different from the registers in the proteus dc...
in those mentioned pages they refer to the fuses of the pics, also take into account the .inc file of each pic of the pbp and use the DEFINE OSC instruction to define the oscillator to use in the pic...
in those mentioned pages they refer to the fuses of the pics, also take into account the .inc file of each pic of the pbp and use the DEFINE OSC instruction to define the oscillator to use in the pic...
fp2032.bas library is included for floating point.
I also took into account the .inc file of each pic of the pbp to configure the fuses of the selected pic.
I had to read the pbp manual page 100...
In the pbp manual page 100 section 4.9 it says the following.
'Config for 16F877A
#CONFIG
__config _XT_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
#ENDCONFIG
If the pic to use and the fuses are not...
I correct DEFINE OSC 8 this should be in uppercase, I have read the manual again page 281 section 8.1.3.
in section 4.9 page 100 of the manual I found the following
#CONFIG...#ENDCONFIG
#CONFIG...
do you mean msc ide bascom avr?
friends greetings
friends make a code in PBP, I have looked in the notepad of the pic 16f886.inc of the PBP and I have configured the fuses for the pic 16f886.
#CONFIG
__config _CONFIG1,...
The solution provided by Richard did not solve the problem for me, I had to correct the following in the code:
'++++++++++++++
'pv LCDOUT $FE,$A3," clean negative voltage
...
I have solved my problem of flickering of the negative and positive voltages, change in the source code the pic 16f877a and use the pic 16f886.
the only thing left for me is to buy pic 16f886 and...
attached in .zip format the simulation in proteus. to visualize the simulation of the symmetric source
If I eliminated the floating point, the positive and negative voltages would NOT be the same as those recorded by the voltmeters in the Proteus simulation. attached proteus simulation image I also...
In the google drive link I uploaded a video of the proteus simulation of the code with the negative and positive voltages flashing. the code works with pic 16f877a, microchip announced that it will...
Since nobody wanted to help me in this forum, I wanted to try again in this forum. is there a problem? if you are not going to help, do not criticize
can you please help me by correcting the friend code?:frown: