I tried to use above code with 24C32 and PIC16F887 but it does not works. It stuck on this loop: while SSPCON2.0 = 1 : wend
Here's complete code:
...
Type: Posts; User: CuriousOne; Keyword(s):
I tried to use above code with 24C32 and PIC16F887 but it does not works. It stuck on this loop: while SSPCON2.0 = 1 : wend
Here's complete code:
...
Will post "Upgraded" version soon - it now supports individual attributes for all chars, like language, inversion, underline, striketrough. Working on variable width character support too.
9246
As usual - no includes, no ASM, does not require 18F series and so on.
These OLED displays are physically (fully) and in software (partially) compatible with standard 1602 LCD modules, based on...
By the way, is there a way to arraywrite to predefined area of array?
arraywrite topline, ["mose"]
writes to 0 to 3 positions of array, but say I want to write this text from 4 to 7 positions,...
Solved issue with writing to lower lines.
These screens are actually divided into 64x32 blocks, which are addressed as 256x32, but physically located as
AB
CD
So this is it.
Bought larger version, which has 128x64 pixels arrangement.
But the issue is, that above code can write only to upper 32 lines of display.
...
Thanks, that works!
Bringing up an old thread...
I have CD4514 connected with it's ABCD inputs to upper 4 bits of PORT.D (PORTD4-7)
I have variable that changes values between 0 and 16. Name is A
How Can I directly...
Added "giant" size, 16x24 pixels font to the charset. But some letters need fine tuning. Once completed, will make this font .hex file free for everyone.
9237
No, I meant changing the value of OFS in the way, that addition will cause actual subtraction, due to overflow.
I came into another issue.
I have font array in EEPROM, and need to set offset for reading it. Depending on charset, this offset can be negative and positive.
So I have to do it in a way like...
Thanks, I'm only going to write to flash drive, so I'll need SERIN for just status checking, whenever drive is physically present.
So I just disregard these pins and let them float?
Well as seller stated, they only need 5V for operation, no separate negative supply needed. It also has contrast adjustment pot soldered on it.
I've looked at these modules and besides TX/RX they also have CTS RTS pins. Can be these handled by PBP, or I have to add some manual code like this?
HIGH RTS 'make RTS pin high
MAIN:
IF...
I didn't get the idea, I just tried it and it gives syntax error......
Well, common HD44780 based displays have 5x7 font, but no one complains...
Anyways, let them arrive and let me see, what they can do :)
FOR X=1 to 5
Y=Z.X
NEXT
As I understand, such operation is not possible in PBP, I mean, it is not possible to substitute variable as a bit part identifier for another variable?
15 years passed since last post :D
I ordered ST7920, but seller sent these instead by mistake. 240x64 resolution. They're on the way, and I'll give them a try once they arrive.
But what I've...
Yes, found some sample code for hardware I2C listed here. Reading thru them slowly....
By 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?
Ok, measured I2C CLK speed. it is about 48khz. So I guess, this is the main issue, right?
Well, 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...