Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: SWAP COMMAND extended to Longs and array variables

    x = 127
    y = 231

    x ^ y = 152
    y ^ x = 127
    x ^ y = 231


    Damn,,, I could go back and save some memory that way Iím sure.
    Thanks!
  2. Replies
    1
    Views
    177

    Re: Unequal Timer0 count in interrupt mode.

    Without your image I’d have gone for watchdog timer reset, but obviously not with that timing.

    Than I looked harder, and Oh no! PBP interrupt!
    PBP Interrupts: Like an interrupt, only it isn’t.
    ...
  3. Replies
    5
    Views
    2,051

    Re: Is no one monitoring the forum?

    Aren’t you an Aussie as well Richard? I’d do it, but not here enough to make a difference anyway.
  4. Replies
    43
    Views
    20,267

    Re: Our dearest friend has passed away. Bye Darrel...

    Every programmer who writes for a community wants their source used by the community.

    Every time his name gets a respectful mention, and his code is used, thatís what heíd appreciate, and what...
  5. Re: Non standard, 160 char LCD text displays, SPLC780 controller, anyone?

    I’ve had a 40x4 LCD for a few years, and it does work just the same.
    Every pin is the same except it has two seperate Enable pins.
  6. Replies
    25
    Views
    1,690

    Re: Doing something at predefined amount of steps?

    for the sign, so long as a & b are the same variable type:


    if (a - b) > a then
    sign = 1 ' result will be negative
    else
    sign = 0 ' result will be positive or zero
    endif
  7. Replies
    25
    Views
    1,690

    Re: Doing something at predefined amount of steps?

    Wasnít it just something like this?
    not even timing of course because every fifth iteration takes slightly longer to execute, but could be balanced up if it mattered.



    variable var word...
  8. Replies
    10
    Views
    1,100

    Re: Help with Using the Catalex MP3 Player

    If you’ve not sorted it out yet, tell us the normal state of the dial switch (I forgot).
    I’ve done it before, but the code wouldn’t be friendly, and also does require the second dial switch, so I’ll...
  9. Replies
    4
    Views
    504

    Re: Complex math on 16F series?

    You can do just about any math you have the RAM for, and display a result, but the real question is what you want to do with the result.
    You’ll probably still need a result value that fits into a...
  10. Replies
    10
    Views
    1,100

    Re: Help with Using the Catalex MP3 Player

    Is it working now, or you already did that hardware stuff to begin with and still not?
  11. Replies
    10
    Views
    1,100

    Re: Help with Using the Catalex MP3 Player

    Using PBP count will be inherently flawed.
    What happens if someone dials both 1 and 2 within the 5 seconds you give it?
    I suppose it doesn’t matter in your specific case if your program is reacting...
  12. Replies
    10
    Views
    1,100

    Re: Help with Using the Catalex MP3 Player

    Thereís another switch contact on the rotary dial to tell you the dial is in the home position doing nothing.
    The dial switch does nothing while the dial is being rotated clockwise by the finger so...
  13. Replies
    9
    Views
    600

    Re: Watchdog timer not working as expected

    If you haven’t tied your MCLR pin high or disabled it, you could get an MCLR reset any time.
    Same with a brownout reset. I haven’t checked this hex configuration values you gave (nobody is going to...
  14. Replies
    19
    Views
    2,033

    Re: Si4702 FM Radio chip

    My code in here is probably more sensible for PBP. In code examples is dirty to get most out of 16F628a.

    Up to you, but that DT code link above is an otherwise lost original I think (which I...
  15. Thread: Morse Code Bot

    by Art
    Replies
    3
    Views
    929

    Re: Morse Code Bot

    I got VK4FAST. It would be really cool to give that a meaning :D
  16. Thread: Morse Code Bot

    by Art
    Replies
    3
    Views
    929

    Re: Morse Code Bot

    ... and here is the source for the pic 16F628A, current at the time the video was made.
    Enjoy :)




    '
    '****************************************************************
    '* ...
  17. Thread: Morse Code Bot

    by Art
    Replies
    3
    Views
    929

    Morse Code Bot

    Hi Guys :)

    Hereís a video which shows the crux of a project to use a custom pic controlled TENS unit to contract my muscles
    through the use of electrodes, to make my hand key some predefined,...
  18. Re: Please help, any ideas to improve Scrolling Text MAX7219

    All of that checking for each character and definitions should all be one single lookup table.
    That code would vary in speed depending on the character being printed.
  19. Thread: NRF905 curious

    by Art
    Replies
    4
    Views
    2,265

    Re: NRF905 curious

    Which are all significantly lower frequencies that 2.4GHz.

    Anyways.. here goes nothing.

    I don’t suppose these have any way to read anything raw from any other devices such as remotes?
    The only...
  20. Replies
    0
    Views
    579

    Si4703 FM Radio DDS Hack

    Hi :)
    This is my most recent 16F628A controller code for Silicon Labs Si4703 FM radio chip.
    This chip gets itís watch crystal disconnected, and itís clock input (RCLK) taken from the 16F628A via a...
  21. Replies
    10
    Views
    919

    Re: I2CREAD/WRITE Clarification

    To save program memory. Not in the i2c routines PBP puts a the start of the program, but for the calls to them.

    I2CREAD/WRITE puts the same chunk of code to send the control byte which can be...
  22. Replies
    10
    Views
    919

    Re: I2CREAD/WRITE Clarification

    Maybe sending the array as a string would work for a byte array, but for a word array Iíd expect it to shuffle all high and low bytes.
    It could be possible to shuffle them everywhere else in code to...
  23. Replies
    10
    Views
    919

    Re: I2CREAD/WRITE Clarification

    outside PBP should be able to.




    MOVLW 0x6
    MOVWF 0x36
    MOVLW 0x2
    MOVWF 0x34
    MOVLW 0x6
  24. Replies
    10
    Views
    919

    Re: I2CREAD/WRITE Clarification

    Wouldn’t it only look like a seperate read because the control code is included each time?
    Maybe there’s a big list of RAM locations in it’s asm that could be looped.
  25. Replies
    10
    Views
    919

    I2CREAD/WRITE Clarification

    Hi :)
    Iím having some trouble interpreting the manual for these two commands.
    Iíve always fully populated the command arguments when using it, and incremented the address until maximum.

    For...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4