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.
hi!!!
The only changes i made are as below
#define RTC_SDA PIN_B0
#define RTC_SCL PIN_B1
and this is codes
#include <18F4550.h>
#fuses HSPLL,USBDIV,PLL5,CPUDIV1,VREGEN,NOWDT,NOPROTECT,NOLVP
#use delay(clock=48000000) //,RESTART_WDT
#include <ds1307.c>
#include <lcd.c>
#define...
Work!
My PIC18F4550 get to loss the program (firmware),normally is working OK.
**broken link removed**
Added after 8 minutes:
***Work***
Mplab v7.61
Potyo2
**broken link removed**
I have read back problem with ADC7825 which is 16-bit ADC, bipolar 10V. After interfacing with this chip, the read back values are as follow:
For -12V to 0 -> the read back value = 0 to 65536
For 0V to +12V -> the read back value = 0 to 65536
The problem is how to identify the polarity of...
I want to use the timer 0 with the 16 bit mode on my 18lf2523
my code's :
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_16|RTCC_16_BIT);
the RTCC_16_BIT is not valid why?
I am using the LCD Graphics module F-51373GNC-FW-AH from OPTREX and the PIC18LF4520
Someone can help me with the inicialization and start of visualization of the gLcd.
Thanks,
I need to measure a tach signal. I have it wired to C2, which is a ECCP input. I think I should be able to use that to get counts but I'm not sure how to do that.
I get the impression that I need to set up the ECCP to count mode, reset the timer, come back after a known period of time, and...
setup_spi(SPI_SLAVE|SPI_L_TO_H|SPI_CLK_DIV_4);
while(1)
{
while( !spi_data_is_in() )
{ }
Var1 = spi_read();
printf("Received : %d\n\r", Var1);
}
And Iam sending SPI data from another microcontroller.
Data is 0,1,2,3,..100 with 500ms intervals. Iam using
PIC18F8720 and CCS C V4.010...
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.