Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,689

    Fast Data Logging

    Is there a way to record several seconds (2-3 seconds) of data at 1khz or even 10khz? I'd like to store 6 words per iteration.

    6 words * 2 bytes = 12 bytes
    12 bytes * 1000 hz = 12000 bytes/s...
  2. Replies
    13
    Views
    6,877

    Thanks for all the help. Because of it I was able...

    Thanks for all the help. Because of it I was able to finish the robot project I was working on using optical encoders (instead of potentiometers... PID + nonlinear, 270 degree pots ==slow || messy)....
  3. Replies
    13
    Views
    6,877

    If I go over 1 page of code (2k words, right?) is...

    If I go over 1 page of code (2k words, right?) is there anything I need to worry about w/my current code? I know the pbp code will take care of itself, but my ASM ISR might not. I do use PCLATH for...
  4. Replies
    13
    Views
    6,877

    Thanks! That seems to have done the trick. I'm...

    Thanks! That seems to have done the trick. I'm using MicroCode Studio Plus, is there anyway to see what variables are stored in what banks?

    Also, more importantly, I'm not currently...
  5. Replies
    13
    Views
    6,877

    My main code (updated): ...

    My main code (updated):

    http://pastebin.com/m7513a97d

    Includes:

    generic_include.inc:
    http://pastebin.com/m1be5ca8f

    LCD_Init_PortD.inc:
  6. Replies
    13
    Views
    6,877

    That is defined in generic_include.inc. I moved...

    That is defined in generic_include.inc. I moved it to my main pbp file and removed that include, and it still does the same thing.

    Does this have something to do with stacksize? If you overflow...
  7. Replies
    13
    Views
    6,877

    Here is my code: http://pastebin.com/f456e5db...

    Here is my code:

    http://pastebin.com/f456e5db

    Sorry it's a bit of a mess. If I comment the "IF" on Line 343, with the corresponding ENDIF, the code runs much more consistently. Also,...
  8. Replies
    13
    Views
    6,877

    Odd behavior if too many instructions

    I'm using a 16f877a on a Lab X-2 board, at 20mhz. I'm using microcode studio plus w/PBP and MicroCode Loader bootloader.

    My program has an assembly interrupt routine, which to my knowledge is...
  9. Replies
    5
    Views
    4,206

    My interrupt is an assembly interrupt, so I can't...

    My interrupt is an assembly interrupt, so I can't have PBP code there... right?

    Matt
  10. Replies
    5
    Views
    4,206

    Here is the code: http://pastebin.com/f3d55f851

    Here is the code:

    http://pastebin.com/f3d55f851
  11. Replies
    5
    Views
    4,206

    Origin of Assembly Table

    I am working on a PID controller that also does the quadrature decoding of an optical encoder (which I made tehehe). I have it basically working using assembly interrupts.

    The basic operation is...
Results 1 to 11 of 11