Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: CuriousOne; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    5,021

    Re: Hardware I2C

    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:


    ...
  2. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    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
  3. My "micro library" for 1602 OLED screens, using WS0010 controllers.

    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...
  4. Re: "Variable already an alias" - is there a way to avoid this?

    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,...
  5. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    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.
  6. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Bought larger version, which has 128x64 pixels arrangement.
    But the issue is, that above code can write only to upper 32 lines of display.
    ...
  7. Re: "Variable already an alias" - is there a way to avoid this?

    Thanks, that works!
  8. Re: "Variable already an alias" - is there a way to avoid this?

    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...
  9. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    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
  10. Re: How to detect variable going below zero, without using PBPL ?

    No, I meant changing the value of OFS in the way, that addition will cause actual subtraction, due to overflow.
  11. Re: How to detect variable going below zero, without using PBPL ?

    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...
  12. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Thanks, I'm only going to write to flash drive, so I'll need SERIN for just status checking, whenever drive is physically present.
  13. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    So I just disregard these pins and let them float?
  14. Replies
    9
    Views
    10,384

    Re: LCD with T6963C controller

    Well as seller stated, they only need 5V for operation, no separate negative supply needed. It also has contrast adjustment pot soldered on it.
  15. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    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...
  16. Re: Adding and reading byte variable from the bit array?

    I didn't get the idea, I just tried it and it gives syntax error......
  17. Replies
    9
    Views
    10,384

    Re: LCD with T6963C controller

    Well, common HD44780 based displays have 5x7 font, but no one complains...
    Anyways, let them arrive and let me see, what they can do :)
  18. Re: Adding and reading byte variable from the bit array?

    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?
  19. Replies
    9
    Views
    10,384

    Re: LCD with T6963C controller

    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...
  20. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Yes, found some sample code for hardware I2C listed here. Reading thru them slowly....
  21. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    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...
  22. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    So only one way to get the speed, is to use SPI, but with MSSP?
  23. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Ok, measured I2C CLK speed. it is about 48khz. So I guess, this is the main issue, right?
  24. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    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....
  25. Re: Adding and reading byte variable from the bit array?

    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...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4