I'll just point to MELABS: https://melabs.com/samples/PBP-mixed/spimast.htm That example is what I used as a basis when I first used the MSSP module for SPI (for interfacing the W5100 (search the...
HenrikOlsson Today, 19:57Well I tried software SPI with MAX7219 and was not impressed at all - updating 32x8 pixels led display was quite slow....
CuriousOne Today, 17:28If you're trying to write something totally generic that can be used with all the 8-bit PIC's then the most generic solution is to use the bit-banged I2C routines.
If you want a faster method then...
its best to be correct for future reference , not all i2c devices are so forgiving
richard Today, 07:38Well, just added these square brackets - see no difference in readings.
CuriousOne Today, 07:36If you want to take your loved ones breath away during any occasion time such as Birthday, Anniversary, Rakhi, Holi, Diwali, Mother’s Day or others then order to Send Gifts to Mumbai and make them...
Drishtisah Today, 07:34as maybe but you are still incorrect , if you use a logic analyzer you will see the transaction ends abnormally
wrong way
i2cwrite ldta, lclk, adr, cnt
correct way
i2cwrite ldta, lclk,...
Big thanks Richard! now it works!
here's the code:
adr=$46
x=0
cnt=%0100011
i2cwrite ldta, lclk, adr, cnt
pause 200
The main difference between us is the sourcing capabilities :)
I'm buying everything from china, so I'm paying about 3 cents for 24C256 and parallel eeprom is somewhere around 40 cents. I guess, I...
Re: My "Library" for ST7920 Graphical displays, works fine, but...
Thanks, but that code is missing SSPBUF declaration?
CuriousOne Today, 21:06