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
    6
    Views
    77

    Re: Can't program a 12LF1840?

    highly recommend pk2 clones and pk3 , the snap/pickit4 programmers are ok too
  2. Replies
    2
    Views
    37

    another state machine example

    on the other forum this was asked


    http://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/pbp3-picbasic-pro-3-0/8323-millisecond-counter#post8333

    no complete code solution was...
  3. Replies
    6
    Views
    77

    Re: Can't program a 12LF1840?

    there are 12LF1840 and 12F1840 , the compiler , the programmer and the chip all need to sing the same tune

    just saying the obvious
  4. Re: Could you analyze the bridge circuit related using this TDA2822M?

    looks like kimi has a new client now

    still never a single question on pbp


    http://www.picbasic.co.uk/forum/showthread.php?t=22042&p=139256&highlight=#post139256
  5. Re: Arraywrite converts all letters to uppercase?

    who wants that . 500 lines of chicken scratching's, no way i would even look at it

    post the simplest compliable program that shows the problem. [if you can 99.99% odds you cannot ]
    code snippets...
  6. Re: Arraywrite converts all letters to uppercase?

    once again a failure to produce a compliable example that demonstrates the problem

    proof again in the pointlessness of snippets

    a complete waste of effort

    well done .... not
  7. Replies
    13
    Views
    331

    Re: Multiplying with 11 using PIC

    the closest i get to 11 meg in mcc for a pwm module is 8meg next step down is 5.33 meg next up 16 meg
    9092
    9093
  8. Replies
    13
    Views
    331

    Re: Multiplying with 11 using PIC

    you could work it out

    @64 mHz the pic executes 1 instruction every 62.5 nano seconds
    to toggle a pin @11 mHz thats twice every 91 nano seconds , you don't have even 1 inst period to work with ...
  9. Re: Thoughts on using I2C LCD... or should I just stick to 4 bit parallel mode?

    http://dt.picbasic.co.uk/CODEX/LLCDSerialBackpack

    has worked fine for at least the last seven years
  10. Re: How does a CPU work on the hardware level?

    The device operates as long as the magic smoke is trapped inside of it, but when the smoke escapes from it, the device ceases to operate. Ergo, the smoke is an essential part of the device and its...
  11. Re: How to read from single LOOKUP table into different variables?

    easy as


    ;----[16F886 Hardware Configuration]--------------------------------------------#CONFIG
    cfg1 = _INTRC_OSC_NOCLKOUT ; INTOSCIO oscillator: I/O function on RA6/OSC2/CLKOUT pin, I/O...
  12. Re: How to read from single LOOKUP table into different variables?

    in what way would B differ from C

    surely if a=0 then b==c = "H"
    surely if a=1 then b==c = "e"

    makes zero sense
  13. Re: How to read from single LOOKUP table into different variables?

    why all the fiddling ?
    why not ?

    ARRAYWRITE NexBuf, ["vac.val=",dec3 tvac,255,255,255,0]
    RotX = 0 ;NexFlags.RotX -- Clear RotX Flag
    GOTO Start_TX ...
  14. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    works perfectly on simulator

    had to increase some delays for slow old lcd
    pause 1000
    ' Set LCD Data port
    DEFINE LCD_DREG PORTC
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTB
    DEFINE...
  15. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    what code ?
    minimal, complete and verifiable example MCVE , its not hard

    this code

    '* pic16f1825 : eprom addr =$a0 #CONFIG
    __config _CONFIG1, _FOSC_INTOSC &...
  16. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    this


    '* pic16f1825 : eprom addr =$a0
    #CONFIG
    __config _CONFIG1, _FOSC_INTOSC & _CP_OFF & _WDTE_OFF & _PWRTE_ON & _MCLRE_ON & _CLKOUTEN_OFF
    ...
  17. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    DPIN Var PORTA.2 ' I2C data pin
    CPIN Var PORTA.1 ' I2C clock pinB0 Var wordB1 Var byteB2 Var byteX var bytex=0 For B0 = 0 To 15 b1=b2 I2CWRITE DPIN,CPIN,$A0,B0,[99] ...
  18. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    no the compiler produces code to I2CREAD DPIN,CPIN from device $A0 @eeprom address B0,X then read nothing as asked for
    there is no error



    produce a compliable example that...
  19. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    yet still another pointless snippet , with nothing defined





    you persist in using incorrect syntax , it should be

    I2CREAD DPIN,CPIN,$A0,B0,[X ]
  20. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    to my surprise i found the 24c32 on my ds3231 module did not behave as expected when the resistor block [circled] was removed
    to conserve energy for a battery device
    9084

    the address was still...
  21. Replies
    29
    Views
    13,313

    Re: I2CRead & I2CWrite not working as expected

    or read the data sheet again and work out the consequences of floating address pins on the device address
  22. Re: PBP RAM allocation - how to find available or total used RAM?

    it will be better to employ a PIC chip suited to the task, you may as well use a nexington or whatever they are called it's usually vastly easier
    than trying to design a multi pic system
  23. Re: PBP RAM allocation - how to find available or total used RAM?

    some pic16 are limited to 80 bytes, its not about free sram but due to the fact that pbp uses "banking" to access the sram, the limit is the amount of gp ram available in a bank.
    arrays of much...
  24. Thread: Loop issues

    by richard
    Replies
    18
    Views
    1,034

    Re: Loop issues

    i should address some of these issues when using on interrupt


    subroutine call in isr
    pbp code is not re-entrant if the isr is called while the foreground task is running the same routine...
  25. Thread: Loop issues

    by richard
    Replies
    18
    Views
    1,034

    Re: Loop issues

    there are three ways to design a program for a single core chip
    1 cooperative task sharing
    2 state machine
    3 spaghetti

    two are predictable , reliable and easy to debug. both will unravel yards...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4