Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Faster SHIFTOUT without dedicated hardware, possible?

    Just got to PC today and wanted to run your code, but I have a little problem, my current code looks like this:

    SHIFTOUT SDA, SCK, 0, [$C0+row,col]

    It sends 2 bytes in a row. How should I do...
  2. Re: Faster SHIFTOUT without dedicated hardware, possible?

    Well, I tried to use MSSP, but no luck, so this is why I'm asking.
    Current I2CREAD is too slow, it runs at about 50khz (and is NOT oscillator dependent, as someone stated, I checked with scope, it...
  3. Re: Faster SHIFTOUT without dedicated hardware, possible?

    Thanks, that's great!
    So if we can replace SHIFTOUT with faster code easily, maybe there is a such way for I2CREAD too? without using MSSP module?
  4. Faster SHIFTOUT without dedicated hardware, possible?

    Hello, I'm driving APA102 LEDs with shiftout, and while for on-off speed is ok, when I want to do some cool and fast color change, speed is not enough.
    So as I understand, SHIFTOUT is just making...
  5. Re: My "Library" for ST7920 Graphical displays, works fine, but...

    Ordered 128x64 display from the different manufacturer.
    It has proper dimensions - the screen above is almost square, as you can see, and the new one has proper proportions.
    But it also has 20 pin...
  6. Replies
    11
    Views
    5,177

    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:


    ...
  7. 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
  8. 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...
  9. 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,...
  10. 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.
  11. 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.
    ...
  12. Re: "Variable already an alias" - is there a way to avoid this?

    Thanks, that works!
  13. 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...
  14. 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
  15. 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.
  16. 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...
  17. 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.
  18. Re: Simplest way to write to USB stick or TF/SD card with PBP?

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

    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.
  20. 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...
  21. 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......
  22. Replies
    9
    Views
    10,664

    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 :)
  23. 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?
  24. Replies
    9
    Views
    10,664

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

    Yes, found some sample code for hardware I2C listed here. Reading thru them slowly....
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4