Are these PICs on the same PCB or on each end of a long cable?
Cable (well PCB traces too of course) has capacitance, with a 10k resistor you're forming quite an RC-filter (relatively speaking)...
Type: Posts; User: HenrikOlsson; Keyword(s):
Are these PICs on the same PCB or on each end of a long cable?
Cable (well PCB traces too of course) has capacitance, with a 10k resistor you're forming quite an RC-filter (relatively speaking)...
Hi,
I have not looked closely at your code yet and I don't know if this will make any difference but I did react to the following:
Please note that the WPU is turned off when pin is configures as...
Yes Alain, go RTFM and come back with another comic ;-)
This has been covered almost as many times as "disable analog functions when using pins as digital" but since it continues to create false...
No, I did not forget to add a label.
EXIT is a keyword used to break out of the current loop.
AI, simulation, virtualization.... What happened to the good old breadboard?
Do I really need to...
What happens if more than one button is pressed at the same time?
Anyway, this might serve as starting point. It compiles but it is not tested.
Long_Press CON 5000
Short_Press con 100
cnt...
Unless you happen to sit down at EXACTLY the right time your ass will be stuck in the debounce loop.
You mean this:
Progstart:
if PORTB.0 = 1 then
Toggle PORTB.6
endif
Debounce:
Pause 20 ' ? shorter ?
If PORTB.0=1 then
I think the first version should work - but do so quite unreliably.
The reason: If the button being pressed happens to FIRST be checked in the debounce routine the code will be stuck there until the...
16384+12 seems correct for (inverted) 31250 but should it BE inverted and why 16384+3313? (I don't know MIDI...)
Can you do a standard baudrate like 9600 and verify that data is coming out by...
The 6-pin and 8-pin versions are exactly the same only packaged differently.
The 8-pin package has 2 pins that are N/C so there really is no difference and no reason why it should not work with the...
Yeah, once upon a time those boat anchors were the ducks guts. When I got into the electronics hobby in the early nineties I could only dream of having an oscilloscope, even the cheapest/simplest...
Or "Manual".
Either is in opposite to automatic or, perhaps, display the manual on the screen. Or something completely unrelated to both Menu and Manual....
Ah, so it does have a battery, then it...
This is one of those things where the answers is "It depends", and it depends a LOT.
What's your usecase? On the hobby bench for the odd PIC project looking at 3.3V and 5V logic signals or in your...
Quick note about something I re-learned yesterday.
It started when I tried to update the firmware of my ESP-01 module, it only has 4Mbit of FLASH so it did not work. Dug out an ESP-12F module and...
I tried with an old module I had laying around.
I got the same issue no matter which CWMODE. But in the Stackoverflow post I linked to user urbanSoft (so all credit to him) writes:
So I tried...
Have you tried with CWMODE = 3?
Also, see this:
https://stackoverflow.com/questions/55083806/esp8266-atcwlap-gives-generic-error-message-with-no-details
The value returned by PULSIN for a specific pulse width is dependent of the speed at which the PIC runs.
At 4MHz the resoulution is 10us, at 20MHz it's 2us (all according to the manual).
This...
I'm sure UART over WiFi is possible but if the goal is to use a smartphone with a terminal program then I would think Bluetooth would be easier.
Something like a HC-06 module on the PIC side and...
And since the four pins are on the same port you could do away with the individual RMW-instructions for each pin and just do
x = 0
masfrk:
PortC = x
x = x + 16
pauseus 194
goto masfrk
...
Strange - and sad. Very sad.
I would have given up already and went to a competing product.
Crownhill (the company that hosts this forum) did have their own compiler. It's now end of life but...
You still not been able to purchase it?
My guess is sales of PBP is pretty low these days so it's a pitty that someone who actually wants to buy it seems to not be able to...
In the meantime you...
Someone is overthinking and overcomplicating things. This is not Linux :-)
The confusion likely comes from the following:
In the referenced dialog you do set the path to the compiler, ie PBP...
If the drive crashes and you're not able to deactivate the license I'd contact MeLabs and ask them for help. Given their record I'm sure they'll help you out.
The Activation Manager needs internet...
Although Ioannis is correct in that you are indeed allowed to activate PBP on more than one machine don't forget to use the PBP Activation Manager to "deactivate" the license on that Alienware laptop...
If I truly understood the math behind it I could probably write it in PBP but I really don't and that, my friends, is why my robot has never balanced properly for more than a couple of seconds before...