Yeah, that. +1
First have a look to how PBP shares its variables with asm ...
Hi Darrel & Everyone,
Talat from Istanbul here. Please help with my PWM problem.
My code is running(?) BUT I get only 1 or 2 output pulses from port B3 on startup then no output after that.
Talat from Istanbul here. Please help wıth my PWM problem.
My code is runnıng BUT I get only 1 or 2 output pulses from port B3 on startup then no output after that.
What am ı doıng...
What a crock. Do you seriously expect us to believe you've invented something here?
The "old" and "new" processes in your chart are exactly the same with variations in the amount of detail shown. ...
Something is strange. Now it work with the same variable in init and in main loops. Yesterday I tried a many time and don't worked.
@ richard : thx for your suggestions
Here is working code :
Try the following link, it might help you
Interfacing HC-SR04 Ultrasonic Sensor with PIC Microcontroller
or 5 good pulses in a row
DEFINE PULSIN_MAX 500 ; why wait longer if its already out of limits (may need adjustment)
init_ok var byte
while portc.2 ; wait till...
would it be possible to post the actual code you are using (in code tags preferably) not some edited portion.what are your config settings ? a schematic sketch could be in order. without the full...