Hi everyone,
I have a bit of a situation here. From the code below, its just a function for obtaining key codes from 1-6 and left and right. the left and right keys are detached from the system...
Type: Posts; User: kim15
Hi everyone,
I have a bit of a situation here. From the code below, its just a function for obtaining key codes from 1-6 and left and right. the left and right keys are detached from the system...
hiya jim, thanks. but i've solved most part of it. seems that i dont need to shift it at all. and that is what the main cause for the remote not to work.I'm only left with one more and it should be...
1kohm is put at the ADC input (before the V goes into the ADC).
and yes my analog input is enabled.
im using a TMPM321F10FG chip
Im using a keil microvision 4
seems that only 2 of my buttons...
hi laserlight,
the d_kystrAD is the value of the remote key for each functions (func, mute, vol up vol dn etc) obtained from the remote via AD
the d_kyStrADReg is the value of the converted AD...
void ky_dReadSteering(void){
uchar temp;
d_kyStrADReg = u_adcPort(AN0);
d_kyStrADReg = d_kyStrADReg >>6;
if(d_kyStrADReg < 0x74)
{
Im sorry. perhaps i didnt explain it correctly.
#define FM_MAX_1 (FM_LMT - FM_LOW_1)*2 // for ch 1
#define FM_MAX_2 (FM_LMT - FM_LOW_2)*2 // for ch 2
#define FM_LMT ...
the struct that u made, does it mean that it will only go from 98.0 - 98.2?
im not very familiar with structs and not good with it.
yes. here it is.
#define FM_LOW_1 981
#define FM_LOW_2 950
#define FM_LMT 1080
#define FM_MAX_1 (FM_LMT - FM_LOW_1)
greetings programming masters,
i have this task on hand, which requires me to show different freq for each channels i have. like ch1=98.1, ch2=95.1, etc up to 6 channels. but i still need to keep...
Hiya everybody!
Just passing through and wanted to post a question:
Does anyone here knows any bits of information on what DRM really is about?
I've read some info on them and I've also read...
Im sending by byte. on the oscilloscope, it would appear as if its transmitted the whole 32 bits. I have an issue where if i continuously press the button, it keeps on turning ON and OFF continuously...
as a matter of fact, yes. its actually done. just wanted to make it perfect.
Hi everyone.
I have a situation where i need to terminate a data stream after it has detected a long press (pressing a button for more than 1 second continuously without release).
Breaking...
About the #if statements and the comments, apologies, I didnt update them after I changed them for simulation (its easier to turn the high(), low(), reset() and pause() off when doing simulation...
sorry.. kinda forgot to change it before uploading :frown:
I intend for both Data to be more than zero. in other words, it will not send data if either or both of them are zero
sorry. i forgot to mention. the problem encountered is somewhere in the void send_remote_data(unsigned char *data) function.
also, im using a PIC10F222 for the chip and an MPLAB IDE v8.87
Not really sure on how to upload a super long code... so... I attached it instead.12403
i seem to have a little problem with a code that is somewhat similar to this. seems that the data is not transmitted.
Ah. right. thats correct. sorry about that.. but is there a way to not use pointer in this case?
Hello...
I wonder if anyone could tell me if it is at all possible to change pointer to an array?
currently, I have a pointer that points into an array. but it seems that the pointer doesnt...
oh. so should i declare it as a global?
in case 0, (the initial state), there is a line that updates the variable 'state'. Same goes for case 1.
thanks for the recommendation Crossfire. But in this case, I havent any choice but to use this IDE :(
im trying to optimize my codes. im not using a licensed IDE therefore it doesnt optimize just as much as I would like it to.
12384