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: Shift starting position for ARRAYWRITE?

    Well the situation is as follows, I have an array, which is used as a display buffer - separate routine reads data from it, decodes and sends to display.
    I want to do some text scrolling, so want to...
  2. Re: Shift starting position for ARRAYWRITE?

    And how that going to help?
    I want to change that offset runtime...
  3. Shift starting position for ARRAYWRITE?

    Hello.

    Say I have some array, with say, 32 byte length.
    I want to write a text string "Hello world!" starting from position, 20
    How should I?
    I know that I can break the text apart and write...
  4. 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...
  5. 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...
  6. 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?
  7. 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...
  8. 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...
  9. Replies
    11
    Views
    5,178

    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:


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

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

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

    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.
  23. 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...
  24. 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......
  25. Replies
    9
    Views
    10,672

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