Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,417

    clarification of SLEEP command?

    <edit> - found this answered more or less elsewhere - no precision, it's WDT based.

    In the manual, it states that the SLEEP Period command puts the uC in low power mode for Period seconds, BUT it...
  2. Replies
    33
    Views
    26,798

    Re: Rotary encoder with DT interrupts

    I just use regular polling instead of interrupts when using a pb rotary, and only increment/decrement the "true status" upon TWO successive state changes in the SAME "direction". This eliminates...
  3. GOTO to a return in a subroutine amidst multiple If-Then's

    Are there any caveats to using multiple GOTOs to a single return from within IF-THEN-ELSE's in a subroutine? I am using it to skip irrelevant code once the first condition is met.

    Example (for...
  4. Replies
    43
    Views
    66,074

    Re: MCS is Crashing

    Since I migrated to Windows 10 on one of my machines, I haven't experienced a crash on it while using MCS (it was doing it regularly under Windows 7).

    Does anyone who is using W10 have crashes...
  5. Replies
    10
    Views
    6,865

    Re: Chattering relay

    VERY slick solution. Great for reference for cases where hysteresis is needed, thanks for sharing!

    Picster
  6. Replies
    10
    Views
    6,865

    Re: Chattering relay

    how about something like this for virtual hysteresis:



    if ADvalue < upper then
    if upperbufferflag=0 then 'add the buffer only once
    ...
  7. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    I don't want to jinx it, but...

    I've been using MCS on a W10 machine (a W7 machine that it would NOT work reliably on previously) and so far I have had no program crashes. Fingers crossed. ...
  8. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    I agree - timer or something in the background can cause this as well. I've certainly seen a lot MORE program crashes during keypresses, but I have come back after a head-clearing break and found...
  9. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Again, note that this is not always driven by user events. I've had mine "go off" when sitting idle... there is no discernable pattern, nor can it be reproduced at will.

    Hence an overall "on...
  10. Re: Managing registered machines on which PBP3 is installed

    Yeah thanks, the registration manager worked in this case...

    Regards
  11. Replies
    0
    Views
    2,326

    Bug report - 16F18857 using NAP command

    4 Errors in ASM when using NAP command with 16F18857, all referencing WDTCON undefined.

    Looking at the PIC's INCLUDE file, it shows WDTCON0 and WDTCON1, but in the pbp_pic16F1XXXX_tris_offset.lib,...
  12. Managing registered machines on which PBP3 is installed

    How do I manage my registrations so I can de-activate on a defunct machine to free up for new? Is there a web interface where I can manage my registered machines?

    Thanks
  13. Thread: Good ol' 877

    by picster
    Replies
    9
    Views
    22,015

    Re: Good ol' 877

    Not sure, but I seem to recall having an issue with putting if/then/else/endif on the same line. Might be a syntax thing where you need to put wend on its own?

    Worth a shot?

    Picster
  14. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    From my experience, it tends to crash more when typing remarks, but then again, I document to death, so that's probably not relevant. I have seen it crash when typing commands of any kind, and even...
  15. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Unfortunately, I just discovered that I cannot try it on a Windows XP machine - virtual or otherwise, since the PIC I'm using requires PBP 3.1 and it is incompatible with XP... so unless I can pick...
  16. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Compatibility mode for XP results in a crash as well.
    8587
  17. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Just curious, where does one begin with this? Hardware or software, driver versions, or ? I ask because my "main" laptop is a 2012 model and has served like a loyal horse, and has accumulated lots...
  18. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    I have not tried in XP compatible mode, but will try that prior to trying it in a virtual machine. I have tried ADMIN status. Windows is managing my paging file, I have 16G of ram installed, and...
  19. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Microsoft Security Essentials. Already tried disabling it and unfortunately, MCS crashes regardless.
  20. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Yes but it's unusable in safe mode. Sometimes it will go a few days or so without crashing. Other times it will crash 3 times in 10 minutes. With the level of tech support provided, if it works in...
  21. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Nope, still crashes. Same old same old. Trying it in Safe Mode is somewhat pointless seeing as the visual interface will be horrendous, it's not anywhere near usable that way.

    Maybe I'll try...
  22. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Trying now, running it after a "clean boot" process (via msconfig dialog/tabs/checkboxes)... will report back.
  23. Replies
    67
    Views
    52,688

    Re: MicroCodeStudioPlus keeps crashing.

    Perhaps without the benefit of context and reviewing the history of background postings, my prior post might seem disrespectful or overly judgmental.

    A couple of things of note here for your...
  24. Replies
    8
    Views
    28,272

    Re: Help with PWM6 and PWM7 on 16F18857 ???

    Note that this was at 1KHz HPWM on CCP1 through 5. At 2KHz, you regain full 10 bit resolution again, according to my trials (using a clock speed of 8MHz).
  25. Replies
    8
    Views
    28,272

    Re: Help with PWM6 and PWM7 on 16F18857 ???

    Ok, thanks all for verifying approach. I found the issue to be that the resolution of the duty cycle in bits was 9, not 10, (it seems it varies with the PR2 value predetermined by the HPWM command),...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4