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

    Thanks, but that code is missing SSPBUF declaration?
  7. 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....
  8. Replies
    14
    Views
    4,076

    Re: BH1750FVI sample code available?

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

    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
  10. 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...
  11. 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...
  12. 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 :)
  13. 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.
  14. My "Library" for ST7920 Graphical displays, works fine, but...

    Hello.
    There are LCD modules, based on ST7920 controller, which are pin and command compatible with HD44780 controllers, so they can be used with PBP, by using LCDOUT statement. This saves a lot of...
  15. Replies
    14
    Views
    4,076

    Re: BH1750FVI sample code available?

    Thanks!
    Tried both, none works, so I guess, I'm missing something else too...
  16. Replies
    14
    Views
    4,076

    Re: BH1750FVI sample code available?

    Changed syntax, still getting zeroes, what I'm doing wrong?



    ldta var porta.6
    lclk var porta.3

    x var word
    y var byte
    z var byte
  17. Re: How to detect variable going below zero, without using PBPL ?

    So by checking the last bit, I can know, whenever variable went into negative world, right?
  18. Replies
    14
    Views
    4,076

    Re: BH1750FVI sample code available?

    Well, I tried to use what I already have working for DS3231 :)
    Manual is not very clear about I2C....
  19. Replies
    14
    Views
    4,076

    Re: BH1750FVI sample code available?

    8 years passed and now I'm giving it 2nd try, but it still does not works (returns 58317 constantly). Here's code:



    ldta var porta.6
    lclk var porta.3


    x var word
    adr var byte
  20. Re: How to detect variable going below zero, without using PBPL ?

    Variable value should go to negative, but since we have no negative, it goes into 65xxx range :)
  21. Re: How to detect variable going below zero, without using PBPL ?

    It's not ADC value reference that causes problems.
    Here's the explanation.

    Say ADC changes from 100 to 200 and "middle" point is being 150.
    So to have zero at my system variable output (which I...
  22. Re: How to detect variable going below zero, without using PBPL ?

    I'm helping some fellow students to build an extinction meter.
    There's ADC reading, and based on liquid passed in the system, light transmission, compared to reference, might increase or decrease....
  23. How to detect variable going below zero, without using PBPL ?

    Hello again :)

    is there any way to avoid getting 65xxx numbers instead of negative numbers, when X-Y and Y is > X ?
    I know, that PBPL can do it, but I don't want to use 18 series.

    So maybe...
  24. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Thanks!
    I never used serial transmission with PICs, so I need SEROUT/SERIN statements to be used, right?
  25. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Their tutorial is quite weird.


    I do need additional hardware or can hook it to say PIC16F886 directly?
    Also, about Baudrate and other init options, it is not clear I need to do it each time on...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4