Author |
Message |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 8:45 am Subject: I2C stuck on first task (pic16f877a) |
Yeah i saw when I compiled it. changed everything to else if |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 4:55 am Subject: I2C stuck on first task (pic16f877a) |
oh, that's strange.
maybe that's the reason the program gets stuck?
Which LCD is the best, in your opinion, to work with? |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 3:13 am Subject: I2C stuck on first task (pic16f877a) |
This one came with it
https://www.mikroe.com/lcd-2x16-blue
And it still works with my beginning code (not the one on this page). My other LCD also works with my beginning code through i2c. |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 2:47 am Subject: I2C stuck on first task (pic16f877a) |
Well, i have multiple LCD laying around. To test I use the one that came with the easypic v7 (which works on i2c before the program got stuck).
I also have a HD44780 https://www.sparkfun.com/datashe ... |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 2:35 am Subject: I2C stuck on first task (pic16f877a) |
Thanks for the i2c link.
The only problem is that it isn't working for me.
even the test program given with the i2c flex driver wont work. |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Thu Jan 26, 2023 12:47 am Subject: I2C stuck on first task (pic16f877a) |
Hi all,
Thanks for replying and helping me out with this.
So to start
Your 32 character arrays have entries from 0 to 31. You try to send
characters from 0 to 32....
you're right about this ... |
Topic: I2C stuck on first task (pic16f877a) |
rlabee
Replies: 15
Views: 32038
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2023 10:09 am Subject: I2C stuck on first task (pic16f877a) |
Hi all,
I've been browsing this forum for a while now, but never made an account. Although I've learned a lot from all of you guys I'm stuck on my project.
The assignment is to make a miniatur ... |
|