Yes, the MSSP does both.
tumbleweed Yesterday, 18:13By the way, as PIC16F886 datasheet says:
Master Synchronous Serial Port (MSSP) Module
supporting 3-wire SPI (all 4 modes) and I2C™
Master and Slave Modes with I2C Address Mask
This means, I...
So only one way to get the speed, is to use SPI, but with MSSP?
CuriousOne Yesterday, 16:40Well, that's going to make I2C operations about ten times slower than what it could be running at.
A while back you mentioned using software SPI and complained about it being slow too.
You'd...
Ok, measured I2C CLK speed. it is about 48khz. So I guess, this is the main issue, right?
CuriousOne - 19th May 2022, 19:26Well, I don't see anything to be slow at 8mhz, except I2C :D
Had no time today, will measure I2C frequency tomorrow and post back....
The issue is that these boundaries should be changeable, since different chars will have different pixel width.
There are two ways of doing this - all capitals have same width and all non-capital...
Have you tried something like this?
Myword2.5 = Mybyte1.2 'move bit 2 of Mybyte1 to bit 5 Myword2
Myword2.6 = Mybyte1.3
Myword2.7 = Mybyte1.4
Myword2.8 = Mybyte1.5
The best I can think of is shifting & bit masks. If you want to use bits 2 through 5, create a generic temporary variable to put the interim result. Right shift it to put the 1st needed bit at the...
mpgmike - 18th May 2022, 15:46
Re: My "Library" for ST7920 Graphical displays, works fine, but...
Yes, found some sample code for hardware I2C listed here. Reading thru them slowly....
CuriousOne Yesterday, 20:06