Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
minisan said:thank you very much! Does opto-encoder a typical way for speed sensing? Is there any alternative to sense the speed?
syahrul.s said:hi
whats the best compiler for pic16f877a??
glenjoy said:syahrul.s said:hi
whats the best compiler for pic16f877a??
Search the board, you will get your answer. But I think any compiler is good depending on the kind of application.
You can use CCS C, it is user friendly, but don't expect that it is the best.
hassan1980 said:This code written in Proton Plus Compiler to control the illumination of the LED
device 16f630
xtal = 10
all_digital = 1
dim VALUE as byte
symbol SW1 = portc.0
SYMBOL SW2 = PORTc.1
value = 0
CHK1:
if value < 255 then
IF SW1 = 0 THEN
VALUE = VALUE + 1
ENDIF
endif
if value > 0 then
IF SW2 = 0 THEN
VALUE = VALUE - 1
endif
ENDIF
pwm porta.0, value, 100
goto CHK1
END