Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds; generated 18 minute(s) ago.

  1. Replies
    14
    Views
    2,342

    Re: Which is most PBP-Friendly external ADC?

    It might be overkill, but I like ADS1246.
    You can use shiftout/shiftin
    EDIT:
    This might be more suitable for you...
  2. Thread: NB-IoT

    by pedja089
    Replies
    2
    Views
    919

    Re: NB-IoT

    As far as I understand it, it's just like GPRS.... You need sim, server to connect etc...
    Difference to GPRS is just bandwith, power etc.
  3. Replies
    87
    Views
    16,304

    Re: Has anyone tried AI with PICBASIC

    I got red circle on first try.
    I noticed if html code is long, it will just stop generating it. Sometimes i can get to continue, sometimes not...
  4. Replies
    87
    Views
    16,304

    Re: Has anyone tried AI with PICBASIC

    Now that you put in that words, it is exactly what I had on my mind.
    Also I tried to make some html with svg graphic. When I asked to generate SVG it told me it cant, then I asked how to implement...
  5. Replies
    87
    Views
    16,304

    Re: Has anyone tried AI with PICBASIC

    I have tried to get it to explain me about cc1101, and how to use it...
    Code that is generated need lot of syntax correcting. But it generate every function, and explain every register i asked...
  6. Replies
    119
    Views
    56,222

    Re: to many redirects

    All good now...
    Thank you.
  7. Replies
    22
    Views
    56,018

    Re: SDHC (FAT32 for SD cards)

    Now fails here

    For SDC_timeout1.lowbyte = $ff To 0 Step -1
    SDC_sector_addr = 0 : Gosub SectorRead ' Long SDC_sector_addr is the sector to read. Returns Byte SDC_status.
    If (SDC_status =...
  8. Replies
    22
    Views
    56,018

    Re: SDHC (FAT32 for SD cards)

    I think $72. I'll check later.
    But that is way they do it... I'm not familiar at all with anything regarding SD.
    I was hoping that I could just use module as is...
    First I edited my project from...
  9. Replies
    22
    Views
    56,018

    Re: SDHC (FAT32 for SD cards)

    I have 2 SD cards 2GB and 16GB, both formated as FAT32. 2GB works fine, 16 fails initialization.
    It fails to select FAT32

    Select Case (DISK_buffer[450])
    Case $01
    DISK_type = FAT12 :...
  10. Replies
    7
    Views
    4,249

    Re: Need someone to help with CC1101

    Main issue is that this is just side project, and I do not have too much time to play with it, and learn every bit of it.
    I was mostly hoping, that worst case would be to rewrite some arduino lib...
  11. Replies
    7
    Views
    4,249

    Re: Need someone to help with CC1101

    HenrikOlsson
    Yes I have instaled it, but not manage to have sucess with it.
    Richard
    It's not critical. I found someone on upwork. So we will see.
    Thanks to anyone. I'll post did I he make it...
  12. Replies
    7
    Views
    4,249

    Re: Need someone to help with CC1101

    Not fixed, just to get it started.
    Board are soldered. I have SPI comm working. From examples from forum.
    I stuck at CC1101 setup. Basicly just tried some Rx Tx on two board. But no luck...
    I...
  13. Replies
    119
    Views
    56,222

    Re: to many redirects

    Chrome, Brave same.... But not every time...
  14. Replies
    7
    Views
    4,249

    Need someone to help with CC1101

    More info:
    https://www.upwork.com/jobs/~01f34aa6dec1166403
  15. Re: LCDOUT not working at 16mhz oscillator speed.

    Try to increase delays with defines

    ' Set command delay time in us
    DEFINE LCD_COMMANDUS 1500
    ' Set data delay time in us
    DEFINE LCD_DATAUS 44
  16. Re: "Variable already an alias" - is there a way to avoid this?

    Try
    PORTD.4=A.0
    PORTD.5=A.1
    PORTD.6=A.2
    PORTD.7=A.3
    Another way
    PORTD=A>>4
  17. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,006

    Re: USB Keyboard

    I think you can find some info in this series:
    https://www.youtube.com/watch?v=wdgULBpRoXk

    https://www.youtube.com/watch?v=2lPzTU-3ONI
    Look for nkey roll over descriptor...
  18. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,006

    Re: USB Keyboard

    Along buffer size, you need to change in hid_desc.bas:


    ReportDescriptor1
    retlw 0x05
    retlw 0x01 ; usage page (generic desktop)
    retlw 0x09
    retlw 0x06 ; usage (keyboard)...
  19. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,006

    Re: USB Keyboard

    It is not so easy to change buffer. You must change descriptor file, not just length(If I understand usb correctly).

    You can send one letter and modifier key at time.

    Use this


    For i = 0...
  20. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,006

    Re: USB Keyboard

    I used it on win7, and if I remember correctly on XP. It should work on win10.
    You have keys.PBP, with all defined keys, also in .doc document you have codes.

    Also USBSERVICE should be called...
  21. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,006

    Re: USB Keyboard

    I made keyboard to use as shortcuts for EAGLE. Should be exactly what you need. I used it on easypic dev board. Pic should be 18F4550.
    Here is complete project 9108

    I created that using many...
  22. Replies
    2
    Views
    11,786

    Re: AT+CPBW confusion

    You don't have comma after = when sending from PIC.
    In serial comm you have =,
    Anyway I think correct syntax is AT+CPBW=1,"+22222222222" for writing to location 1.
  23. Replies
    14
    Views
    6,043

    Re: Crystal oscillator variability between PICs?

    You should be using HS. Try it...
  24. Replies
    4
    Views
    6,356

    Re: HX711 driver code

    You can try this:


    Hx711Cnt var Word
    I var Byte
    GraM var word
    GraMM var word
    SigN var byte

    Symbol dataa = PORTB.2
  25. Replies
    29
    Views
    76,649

    Re: Better code check before compile?

    Same here :confused:
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4