Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Looking for usb discriptor file for consomer, volume control
Dear friends,
I'm trying to make volume knob to my pc and i cant figure out how to make a discriptor file,
If anybody have consomer discriptor file please please send me
moderator action: removed eMail address
Thanks in advance
hay guys i starting a new youtube channel,
i will like to hear what you think.
i will make electronic tutorial and electronic project.
i will add subtitles to each movie
i you want to see more please like and subscribe
temp is a "unsigned long" its a 32 bit (0 to 2147483647)
i think my problem is with the "unsigned short"
if i write the code:
duty1= 255;
i get output
"duty1 = -3"
i need number between 0-255 for the duty cycle 0% to 100%,
i am use "unsigned long temp=0;"
i am trying to debug it and doing just this code:
temp = (1020 * 254); // make adc value fit short to duty cycle
temp= temp/1024;
duty1 = temp;
now i getting duty1= -2
for some reason he...
i`m building led dimmer with PWM for some reason i get wrong math answer,
unsigned short duty1=127; // pwm duty cycle
unsigned long temp=0;
unsigned int adcval1=0; //ADC 10 bit value
char ADCTXT[7],TEMPTXT[11]; //debug string
char DUTYTXT[5]; //debug string
void...
same problem with unsigned,
i start to think i`m crazy.
update: i found the problem,
i needed to change,
this:
IntToStrWithZeros(temp, txtt);
to this:
LongWordToStrWithZeros(temp, txtt);
i build time laps station to one of my friend, for this i needed a 1 second interrupt
i used a real time clock ds1307 he save time and data and work separately form the mcu, you can read when ever you like and the time is very accurate.
sorry,
i am using mikroc a IR led to control the air conditioner and its working,
my problem is when the pic communicate with sim900.
i try to explain with this line:
pic send:AT+CMGF=1
sim900 send:OK
pic send:AT+CMGDA="DEL ALL"
sim900 send:OK
"when sim get sms"
sim900 send:\r\n +CMTI: "SM",1...
hi,
i am trying to operate air conditioner with pic 18f4550 and sim900,
every thing work great when i sending command throw pc terminal and sometime it`s work even with the pic.
i think my problem is with the timing.
hear is the code:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.