Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Forum doesn't quite work when not logged in.

    thanks for the file sizes lester, seems i need to try a bit harder to compress images from the 16MP camera on my new phone.
    a file too big error msg would be nice.



    my browser forum shortcut...
  2. Re: Forum doesn't quite work when not logged in.

    lester

    i could not get to the login screen, just got (HTTP ERROR 500)

    re-uploads , i was trying to upload two files , one text the other an image
    upload went through the motions but nothing...
  3. Replies
    1
    Views
    188

    test upload file

    test of file upload
  4. Replies
    14
    Views
    565

    Re: String matching?

    i might have got a picture of the printout to load



    8820
  5. Re: Forum doesn't quite work when not logged in.

    lester
    I cannot upload any files using chrome, Microsoft edge is on test section
    but nowhere else it seems
  6. Re: Forum doesn't quite work when not logged in.

    i cannot upload any files today at all, had no access all to forum last week either
  7. Replies
    14
    Views
    565

    Re: String matching?

    just as a comparison , this is so easy to accomplish in C

    the forum seems to be broken , can't upload any pics of the printout



    #include <xc.h>

    #include "ks0108.h"
    #include <stdlib.h>
  8. Replies
    14
    Views
    565

    Re: String matching?

    compare macro fwiw

    CMPEQ?BBL macro Bin1, Bin2, Label
    CLRWDT?
    MOVE?BA Bin1
    CHK?RP Bin2
    subwf Bin2, W
    BIT?GOTO 1, STATUS, Z, Label
    endm
  9. Replies
    14
    Views
    565

    Re: String matching?

    there are numerous strategies possible
    if you had a byte var say chr2test , you can write wreg to that byte that a pbp macro
    MOVE?AB _chr2test
    and then perform your tests

    or subtract the...
  10. Replies
    14
    Views
    565

    Re: String matching?

    with a bit of asm and a pic18 you can set the tablepointer to keywords

    movlw UPPER Keywords
    movwf TBLPTRU
    movlw HIGH Keywords
    movwf TBLPTRH
    movlw LOW Keywords
    ...
  11. Replies
    14
    Views
    565

    Re: String matching?

    i would be inclined to -
    make a fixed length array for all the key words, sort the elements into ascii order
    its much easier and faster to seek matches that way
  12. Replies
    183
    Views
    16,489

    Re: PIC USB HID breakout board

    i agree with george.
    i assumed the task is to wake a "terminal" with an unintrusive keystroke when someone approaches
    and to let the terminal timeout due to inactivity without further intrusion,...
  13. Replies
    183
    Views
    16,489

    Re: PIC USB HID breakout board

    i see no code in my browser that turns on the caps lock led . surely the os handles that functionality at much lower level.

    if you send a caps lock or scroll lock key code does something come...
  14. Replies
    22
    Views
    9,465

    Re: Darrel's Multiple Software PWM

    not if you do it properly
    http://www.picbasic.co.uk/forum/showthread.php?t=23813&highlight=16F18875
  15. Replies
    22
    Views
    9,465

    Re: Darrel's Multiple Software PWM

    or use a real chip like PIC16F18875

    that has 5x cppm and two pwm modules so you can have 7 pwn signals on pps assignable pins
  16. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    sounds like power issues

    unstable/slow rise vcc ?
    decoupling caps ?
    rc network on reset pin ?
    add a reset switch ?
  17. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    the int_enable macro is pretty simple, if the timer is stopped i can't see why it would fail
    assuming the dtint file modded properly


    ;---[Enable an interrupt...
  18. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    chips with auto context save need none of that , it just wastes time and space


    see if you can trip this up

    DEFINE OSC 32 'Define Oscillator to 32 MHz
    OSCFRQ =...
  19. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    the modified dt ints is highly unlikely to be the issue, if it was the isr would never work.
    its far more likely your startup code is failing to setup all necessary conditions for the isr to run.
    ...
  20. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    goodo
    not the most elegant solution modifying dt ints like that, i'm sure dt would have found a way to identify that chip for a conditional compile to keep things nice
  21. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    back in an hour, just replacing my disappointing led [40w replacement fluro tubes] with some nice 24w daylight led ceiling fittings in the workshop
  22. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    try this




    DEFINE OSC 32 'Define Oscillator to 32 MHz
    OSCFRQ = %00000110 'DEFINE OSCFRQ TO 32 MHZ

    LED1 VAR PORTB.1
  23. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    i don't see any

    INT_ENABLE T1_197_INT

    Post the code, I don't have one of those chips and can't compile for it either
    still on 3.0xxx
  24. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    try adding this interrupt definition to the dt_ints-14.bas at the top of the definitions

    #define T1_197_INT PIR4,TMR1IF, PIE4,TMR1IE ;-- TMR1 - 16f19197 *


    then rename your interrupt...
  25. Replies
    23
    Views
    1,600

    Re: DT Interrupts not Working with PIC16F19197

    my bad , missed the ticon line


    dt ints defined timer 1 like this
    #define TMR1_INT PIR1,T1IF, PIE1,T1IE ;-- TMR1 alternate sym
    or this
    #define TMR1_INT PIR1,TMR1IF, PIE1,TMR1IE ...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4