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

    So I just disregard these pins and let them float?
  3. Replies
    9
    Views
    9,920

    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.
  4. 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...
  5. 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......
  6. Replies
    9
    Views
    9,920

    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 :)
  7. 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?
  8. Replies
    9
    Views
    9,920

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

    Yes, found some sample code for hardware I2C listed here. Reading thru them slowly....
  10. 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...
  11. 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?
  12. 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?
  13. 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....
  14. 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...
  15. Adding and reading byte variable from the bit array?

    Hello.
    I'm upgrading my ST7920 "library", so letters can have variable width, for better visual appearance.
    For this purpose, I plan to have single, screen-wide bit array, in which I will write the...
  16. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Not yet, but will do. Measure what, I2C clock frequency?
    Tried modifying code in a way, that only that part of screen is redrawn, which is being updated. For some uses it does helps, but not always.
  17. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Good.
    So I have to "learn" to use SPI eeprom 1st, and then use MSSP :)
    By the way, if I leave current setup as is - using I2C, but use PIC running at say 32mhz (instead of current 8mhz), will this...
  18. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Thanks, but that code is missing SSPBUF declaration?
  19. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Well I tried software SPI with MAX7219 and was not impressed at all - updating 32x8 pixels led display was quite slow....
  20. Replies
    14
    Views
    4,188

    Re: BH1750FVI sample code available?

    Well, just added these square brackets - see no difference in readings.
  21. Replies
    14
    Views
    4,188

    Re: BH1750FVI sample code available?

    Big thanks Richard! now it works!

    here's the code:


    adr=$46
    x=0
    cnt=%0100011
    i2cwrite ldta, lclk, adr, cnt
    pause 200
  22. Re: My "Library" for ST7920 Graphical displays, works fine, but...

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

    Thanks everyone.
    So let's answer step by step.
    There are no significant delays with ST7920 itself nor SPI should be used for it. I'm looking for best compatibility, and with LCDOUT it works like...
  24. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    24C256 is 32KB EEPROM.
    So I'm using it, because I need that much amount of font/graphics data :)
  25. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    I'm using 24C256 for a good reason - due to amount of data being used :)
    Also, when using program memory, it won't be that easy to form the letters, as I do in the example above.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4