Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    179

    Re: PIC10F320 not in devices list

    Support for the 10F320 was added in version 3.1.0 so you're one version behind (and three (plus one beta I believe) versions behind current).
    You'd need to update/upgrade the compiler, I don't know...
  2. Replies
    10
    Views
    1,163

    Re: New PBP and MCS -- a few errors

    Just open them with your favourite text editor or in MCS.
  3. Replies
    10
    Views
    1,163

    Re: New PBP and MCS -- a few errors

    Great, you're making progress!

    That #CONFIG / #ENDCONFIG is "new" in PBP3 and it is what you should use for ALL devices.

    In your PBP3 installation folder there's a sub folder called...
  4. Replies
    10
    Views
    1,163

    Re: New PBP and MCS -- a few errors

    No, you don't have to USE MPLAB X but you need to have it INSTALLED so that you have access to the assembler that comes with it. And, it doesn't HAVE to be the assembler from MPLAB X, it can be an...
  5. Replies
    10
    Views
    1,163

    Re: New PBP and MCS -- a few errors

    MCS is what's called an IDE, an Integrated Development Environment or put another way, a glorified text editor. You don't have to use it, you can write your programs in any text editor. I do...
  6. Replies
    2
    Views
    544

    Re: Are my variable counts too high?

    You're mixing stuff a bit.
    Variables (BIT, BYTE, WORD, LONG and arrays of these) are stored in RAM. Constants are replaced with there numeric value at compile time and are stored, together with the...
  7. Replies
    4
    Views
    1,429

    Re: Me again :) -- latest PBP?

    The different versions supports a different amount of devices, you mentioned the 16F1847 which is only supported in the Gold-version so that's what you need.

    In MCS, make sure you have the...
  8. Replies
    12
    Views
    1,505

    Re: Snap programmer

    The executable is ipecmd.exe.
    Are you saying you don't have that even though you have the full blown IPE tool installed and working?

    /Henrik.
  9. Replies
    4
    Views
    1,429

    Re: Me again :) -- latest PBP?

    As a matter of fact Charles posted a preliminary v3.1.3 just a few days ago so it's not abandoned but I personally wouldn't expect any earth moving updates.


    It's on the supported device list...
  10. Replies
    12
    Views
    1,505

    Re: Snap programmer

    Hi,
    Like I said, I don't have a Snap but if I'd venture a guess something along the lines of:


    -TPSNAP -P$target-device$ -F$hex-filename$ -E -M -OL
    Programmer exectuable is ipecmd.exe

    In...
  11. Replies
    12
    Views
    1,505

    Re: Snap programmer

    CLI is Command Line Interface, how you would "drive" the programmers software from the command line.
  12. Replies
    12
    Views
    1,505

    Re: Snap programmer

    No reason, but IPE comes as part of the MPLAB X download/installation - I don't think you CAN download IPE by itself...


    Yes, and I'd bet that under the hood the IPE application calls upon that...
  13. Replies
    12
    Views
    1,505

    Re: Snap programmer

    I don't have a Snap-programmer so I don't have any personal experience but I would try to update MPLAB X IPE since 5.0 is fairly old. Current version is 5.30 and the release notes mentions some...
  14. Replies
    3
    Views
    285

    Re: 40466 LCD help

    As far as I can see from a simple Google search it's compatible with the HD44780 controller so it should work fine with LCDOUT. But, since it's 4 lines by 40 characters it uses TWO controllers so it...
  15. Replies
    5
    Views
    383

    Re: 16F88 -- weird stuff Ansel?

    Hi,
    ANSEL = 0 for sure.
    CMCON = 7 why not, but it's the default POR value so really shouldn't be needed (as long as the datasheet isn't lying to us).
    ADCON1 = 7 don't know how you came up with...
  16. Replies
    17
    Views
    1,069

    Re: jumping out of a gosub reminder

    There's no real problem to use GOTO (or nested GOSUBs for that matter) from a subroutine to which you've jumped with GOSUB as long as you eventually end up at a "matching" RETURN but you CAN NOT...
  17. Replies
    8
    Views
    455

    Re: Trying to measure TACH pulses.

    Trivial yes, but trivial stuff can bite you plenty hard and since no setup code what so ever was posted and "Turn off analog functions" is the solution to 20%* of the questions posted here I thought...
  18. Replies
    8
    Views
    455

    Re: Trying to measure TACH pulses.

    What about the good old analog stuff?


    ANSELB.0 = 0 ' Enable digital input circuitry to work properly on PortB,0
  19. Replies
    14
    Views
    1,613

    Re: Better code check before compile?

    I don't write compilers and/or preprocessors but from my limited point of view I can't really see how a check like that would work in the case of PBP. How would the compiler or preprocessor be able...
  20. Replies
    5
    Views
    1,200

    Re: PID Filter Coefficient

    Like I said, I think I just tacked it to the output without really knowing if it would help or make things worse. My main application for the PID routine is motor control and it's been over a decade...
  21. Replies
    5
    Views
    1,200

    Re: PID Filter Coefficient

    Take a look at Tracy Allens pages on math (and other stuff) routines for the BasicStamp, specifically this page when digital filtering is covered. I've adopted one of the routines for PBP. I believe,...
  22. Replies
    5
    Views
    1,200

    Re: PID Filter Coefficient

    Hi,
    If I read the documentation correctly the N-parameter serves as a low pass filter for the derivative term. My routine does not have that option.
    I have ZERO experience with Simulink but looking...
  23. Replies
    2
    Views
    524

    Re: PIC16F18855 and DT elapsed timer

    Several versions of ELAPSED_INT seems to exist. One that predates the existance of DT-Ints and one which is supposed to work WITH DT-Ints. For the one that's using DT-Ints it looks like you also need...
  24. Replies
    131
    Views
    61,930

    Re: PID-filter routine (2nd try).

    Mark,

    It provides some filtering to the input of the integrator and slows down its response some. The integrator does run on every call but the output of it is only added to the total output every...
  25. Replies
    131
    Views
    61,930

    Re: PID-filter routine (2nd try).

    I think it's the integral clamp that's the root cause.
    When the actual value is getting closer to the target, the output from the proportional term gets smaller and the integral term needs to "build...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4