Use the ADC to read the voltage, use the CCP module (I'm pretty sure all the models you list have at least one) to create the PWM signal. If you set the ADC resolution to 8 bits it'll match the...
i cant find this file anywhere, where was it generated???
sorry this is what im getting now
Executing: "C:\Program Files (x86)\PBP3\PBPX.EXE" -ampasmwin -k# -p18F2550 "C:\Users\Aramburo\Desktop\Nueva carpeta\HUB.pbp"
PICBASIC PRO(TM) Compiler...
Hello, I have a doubt that while I can not solve ...
As I can do to reflect a pwm and a filter (resistor 1k and capacitor 1uf on the output pin of the pwm), I read the voltage with analog port ... ...
Hello gentlemen, im new to the forum and dont really know much about usb or PBP3 so sorry for the may-be dumb question since i use HITECH-C
i did all off the dummies guide stuff but in the end,...
There are 2 sensor signals on the schematic, but the code only checks one ADC signal?
Does defining it as a sensor light do something special?
Why not just ignore that code, use a PBP ADC...
Thank for all the help, i'll try to see if can manage myself.
Hi Robert, yess this is the side where the sensor and lego code is comming from
This page might be of help to someone: