<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...
Type: Posts; User: picster; Keyword(s):
<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...
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...
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...
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...
VERY slick solution. Great for reference for cases where hysteresis is needed, thanks for sharing!
Picster
how about something like this for virtual hysteresis:
if ADvalue < upper then
if upperbufferflag=0 then 'add the buffer only once
...
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. ...
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...
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...
Yeah thanks, the registration manager worked in this case...
Regards
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,...
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
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
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...
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...
Compatibility mode for XP results in a crash as well.
8587
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...
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...
Microsoft Security Essentials. Already tried disabling it and unfortunately, MCS crashes regardless.
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...
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...
Trying now, running it after a "clean boot" process (via msconfig dialog/tabs/checkboxes)... will report back.
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...
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).
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),...