Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello esp1.
Thank you for your prompt answer. I found my error, the problem was my definition of ADCON1, x means hexadecimal and d decimal, in this case I have to use decimal so
wrong definition:
ADCON1 = 0x10000111;
Correct definition of ADCON1
ADCON1 = 0b10000111;
I am very happy, I am...
Hello MASTERS.
Someone can tell me what I am doing wrong....
I am trying to understand the PIC18F452, I did a couple of programs, I am trying to understand the Digital input signal.
I connected a couple of push bottoms on RA0 & RA1 to simulate a digital signal, the output will...
Hello.
Thanks for your answers.
Let me share the following 2 screen shots, I think that the PIC is damaged.
I am using PICKit2, when I select the Verify button I get the warning, when I want to write it, I get the same error or warning.
Can I fix it? or do I need to buy another one...
Hello Masters.
I am new but I am studding to learn more about PICs, I needed to start with the practice.
This is my blinking code:
#include <p18f452.h>
#include "stdio.h"
#include <delays.h>
#pragma config OSC = HS //Defining an external crystal
#pragma config WDT = OFF //Disabling...
Hello Masters.
I am studding the PIC18F452, I am reading a lot of examples and tutorials of ADC module.
I am using the C18, I read the microchips libraries pdf file, where if I use the adc.h the code is the following:
#include <p18C452.h>
#include <adc.h>
#include <stdlib.h>
#include...
Hello horace1.
First of all... thanks for your comments.
I would like to know if with that I can play audio. I already talked to my instructor and he told me that the goal is that PIC can play audio with the input of 0-5V with 0V not audio.
As I told you, I'm returning to the school after a...
Hello Masters.
I am back to school after 16 years, I want to finish the school and I have a project to do that.
After 16 years, I am returning to study again all the concepts, I would like to know if it's possible to do the following with the PIC18F452:
-The front end is any sensor, with some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.