hi
i have this code ( mikroc with pic18f2550 ) usb
how can i add delimiter to it
mean if data coming end with 255 /255 /255 then mikro will do the code
for example my code to control duty cycle (( M1pwm= )) any value after = it will change duty cycle
i need to add 255/255/255
it will be like that
M1pwm= 44 255 255 255
if i receive data without delimiter 255/ 255/ 255
mcu will not response
how to make it
how to add delimiter to code MIKROC pic
i have this code ( mikroc with pic18f2550 ) usb
how can i add delimiter to it
mean if data coming end with 255 /255 /255 then mikro will do the code
for example my code to control duty cycle (( M1pwm= )) any value after = it will change duty cycle
i need to add 255/255/255
it will be like that
M1pwm= 44 255 255 255
if i receive data without delimiter 255/ 255/ 255
mcu will not response
how to make it
Code (Text):
- char read_buffer[64] absolute 0x500;
- char write_buffer[64] absolute...