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, thanks Tahmid.
RBO is now declared as digital input, as it should be. But still no results....
If I just use condition 'if(RB0==1)' in this code, it works..
Perhaps I am unable to initialize interrupts, even if i set the flag bit high manually, i dont get interrupts.
I am using mikroc...
Experts,
I am not getting interrupts working.
From the data sheet, I have set out the values for bits but doesnt work. I can use it a a simple input port but not with interrupts. kindly help me out.
here is a simple test code I wrote,
int count=0;
void interrupt() // Interrupt function...
Experts,
What is the size of a location in 24c08?
Using mikroc I2C library and some of your help, I can write and read characters.
But when I write integers or floats, I cannot retrieve the correct values.
thanks
Re: PIC to 24c08
Hey thanks!
Its solved now! 10 points for you.
I have another question,
I have my database in MMC card but data rate is too low(~5kb/sec). What I want to do is load required data into serial RAM and do required operations.
Individually, I can read and write on both MMC...
Re: PIC to 24c08
Hi, thanks for a reply.
I am using PIC18f452.
Kindly, check these cases out for start check.
I2C_Start();
I2C_Wr(0xA2); // Send byte via I2C
Lcd_Out(2,1, text1); //not displayed
In other case,
I2C_Start();
Lcd_Out(2,1, text1); // displayed
I2C_Wr(0xA2)...
Experts,
I need to write and read data to slave(24c08).
I am using mikroc PIC I2C library. And the Library Example.
PROBLEM:
Doesnt work.
On debugging I notice that it never sends a byte after start. Perhaps clock not generated??
Kindly suggest me.
thanks
void main() {
char x;
char...
Database with PIC
Hey thanks for a reply!
Seems to be the ideal solution but can I access a serial ram other than SPI.
I am using SPI to access MMC card.
Please suggest again.
thanks a bunch!!
Added after 19 minutes:
And if you can, kindly refer me an easily available 8-32 kBYTES...
Richyroolahs,
You need to drop down the voltage level. Simply use the voltage divider rule and get 3.3v.
I am working on a similar project, I need the pin description for T28s (Tx, Rx etc)
thanks
Experts,
I am new to GPS world, just need to know more.
I have holux gr-89 module and holux m215 GPS receiver but neither produces GPRMB stream.
The streams received are GPRMC, GPGGA and GPGSV.
Do all GPS receivers output GPRMB streams??
thanks
Experts,
Working on a GPS based project that requires a large database for speed limits and directions.
PROBLEM:
I am using MMC card being accessed via SPI in PIC18F452. But data rate is too low, can read only ~5kb of data in a second.
What else is available, Need suggestions... :|
thanks!
Experts,
I have this lcd command function but cannot initialize the lcd in 4 bit mode. 8 bit was done without any problems but am struggling to initialize LCD in 4 bit mode.
void lcd_command(unsigned char command)
{
rw=0;
delay_ms(1);
rs=1;
PORTB = PORTB&0x0F...
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.