Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    51
    Views
    23,056

    Re: SSD1306 INCLUDE for PBP3

    Yes any font can be created in fixed or variable width
  2. Replies
    6
    Views
    369

    Re: Reading from a HX711

    here is my code to read hx711 , what part is not pbp code ?



    read_hx711:
    WHILE HX_OUT : WEND ;data ready
    for HX711_bits = 23 to 0 step -1 ;read data
    HX_SCK = 1
    ...
  3. Replies
    6
    Views
    369

    Re: Reading from a HX711

    the opposite in fact

    data sheet



    good question , its not in keeping with the spirit of the data sheet , but obviously the intent is to keep only
    the 15 or 16 high order bits and tolerate...
  4. Replies
    6
    Views
    369

    Re: Reading from a HX711

    you may need to take a closer look , the hx711 part is pbp code
    with a smattering of asm for the display , its all pbp compiled
  5. Replies
    6
    Views
    369

    Re: Reading from a HX711

    try this way
  6. Replies
    6
    Views
    7,658

    Re: How to control the Si5351 pls ?

    i used this a one stage
  7. Re: Change the sensor some thing not resetting

    best advice i can give is that when you're making up a bullshit story to embed your stealth ad in
    to at least attempt to match the link to the story, a manifold absolute pressure sensor is not
    used...
  8. Replies
    27
    Views
    1,923

    Re: Multiplying with 11 using PIC

    a 32 bit number cannot be represented in 24 bits , you need 32bit multiplier code

    look at n-bit math
  9. Replies
    18
    Views
    784

    Re: 4 Wire SPI with Shiftin/Shiftout ?

    should we just guess about the new connections and code ?
  10. Replies
    18
    Views
    784

    Re: 4 Wire SPI with Shiftin/Shiftout ?

    how big is the biggest number that can be represented in a byte ?



    Shiftout TC, SCLK, 5, [$03,$100,$00,$0] ' Send write command, set start offset

    an attempt to read from address 0x1000000 a...
  11. Replies
    18
    Views
    784

    Re: 4 Wire SPI with Shiftin/Shiftout ?

    not to mention. a 32bit address attempt ?
  12. Replies
    18
    Views
    784

    Re: 4 Wire SPI with Shiftin/Shiftout ?

    You can learn something everyday
    that seems to work with spi 25aa1024 eeprom
  13. Re: What is the difference between serial communication and parallel communication?

    newuser + stupid question + relevance to pbp zero + relevance to 8 bit pic chips zero + link to web site == equals stealth add at best

    ffs


    and if you want an answer
  14. Replies
    18
    Views
    784

    Re: 4 Wire SPI with Shiftin/Shiftout ?

    not. the shiftout shiftin commands leave the clock line high on completion{mode 5} so when you swap between them the slave device will see
    a false rising edge and you lose a data bit .

    nearly...
  15. Replies
    14
    Views
    794

    Re: why are we getting hit with all this spam?

    seeing this missed one may lead to them hoping for the same good fortune
    9100
  16. Re: "Stretching" a byte variable into two byte variables?

    full test code here
  17. Replies
    26
    Views
    6,890

    Re: Graphical Displays with PBP3

    serial i/f and busy flag check added for st7920



    '****************************************************************'* Name : ST7920-LCD_DEMO.PBP *
    '* Author ...
  18. Re: "Stretching" a byte variable into two byte variables?

    any_byte=101011 ;eg input any_byte-> 10101011
    for any_cnt=0 to 7
    any_word=any_word<<2
    if any_byte.7 then any_word=any_word+3
    any_byte=any_byte<<1
    next
    output any_word->...
  19. Re: "Stretching" a byte variable into two byte variables?

    don't add 3
  20. Replies
    1
    Views
    292

    is covid crisis over ?

    something has spurred the spammers into a burst of activity
  21. Re: "Stretching" a byte variable into two byte variables?

    sample the msb of your byte
    if its set add three to your word var
    shift left the byte var 1 bit the word 2 bits
    repeat for all 8 bits
  22. Replies
    26
    Views
    6,890

    Re: Graphical Displays with PBP3

    Driver for st7920 display for my system

    notes
    you need to change in/out of graphics mode to use lcdout commands on the display if you have the need, i don't

    it doesn't need the r/w pin ...
  23. Thread: Audio player

    by richard
    Replies
    13
    Views
    753

    Re: Audio player

    i do , never tried it but it looks straight forward
    https://github.com/earlephilhower/ESP8266Audio

    cannot see how you can get in between df player and sd card to decrypt a file, you need to drive...
  24. Thread: Audio player

    by richard
    Replies
    13
    Views
    753

    Re: Audio player

    esp8266 , audio in littlefs partition in flash would nail it, files can be modified with simple https browser i/f
    on the devices own self generated access point
  25. Replies
    8
    Views
    580

    Re: Can't program a 12LF1840?

    highly recommend pk2 clones and pk3 , the snap/pickit4 programmers are ok too
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4