Search found 27 matches
- 03 Jan 2010 08:33
- Forum: mikroC General
- Topic: Zigbee transmission not working
- Replies: 2
- Views: 1899
- 02 Jan 2010 11:44
- Forum: mikroC General
- Topic: Zigbee transmission not working
- Replies: 2
- Views: 1899
Zigbee transmission not working
controller #include <built_in.h> //declare button and reading variable unsigned char button1 = 0; // button unsigned char button2 = 0; unsigned char button3 = 0; unsigned char button4 = 0; unsigned char button5 = 0; unsigned char button6 = 0; unsigned char button7 = 0; unsigned char button8 = 0; uns...
- 24 Nov 2009 14:53
- Forum: mikroC General
- Topic: Double Tasking Methods
- Replies: 3
- Views: 1650
why not consider some PIC that have 2 ccp so u can use both half bride mode and also another ccp pin for compare mode (pic18f452/4520 have 2 ccp) so u dont have to use 2 microcontroller belive me when using 2 pic and they have to communicate with each other the whole thing become so much messier so ...
- 24 Nov 2009 12:40
- Forum: mikroC General
- Topic: Double Tasking Methods
- Replies: 3
- Views: 1650
- 23 Nov 2009 17:56
- Forum: mikroC General
- Topic: store and display
- Replies: 7
- Views: 2820
- 23 Nov 2009 17:54
- Forum: mikroC General
- Topic: store and display
- Replies: 7
- Views: 2820
lm35 is analog thermometer so hook it to AN port and do a conversion and display it out to the lcd char txtT[6]; unsigned int tlongT = 0; void loop1() { WordToStr(tlongT, txtT); // Word to string conversion Lcd_Out(2, 1, txtT[1]); // Print 100 digit Lcd_Chr_Cp(txtT[2]); // Print 10 digit Lcd_Chr_Cp(...
- 22 Nov 2009 18:46
- Forum: mikroC PRO for PIC General
- Topic: Button press on pic18F452
- Replies: 9
- Views: 3948
- 22 Nov 2009 08:54
- Forum: mikroC General
- Topic: 2 CCP function compare mode on special event
- Replies: 0
- Views: 933
2 CCP function compare mode on special event
well what i wanted to do is using 2 CCP function of my PIC18F452 @4mhz to do a PWM for 12 servo motor (at any one time only maximum 4 will run other dead and all at different pwm pulse width) (servo min 1ms max 2ms neutral 1.5ms 50hz = 20ms per cycle) I read the Xor post but since it is in basic and...
- 22 Nov 2009 08:43
- Forum: mikroC General
- Topic: simulation of Keypad_Read()
- Replies: 5
- Views: 2597
u mean simulating the pressing the key by programming instead of connecting it and pressing it for real ? emm that i am curios also u can call a output pin high by using PORTB.F0 = 1 but input pin i dont think u can make it so if for the purpose of testing why no take the supply voltage thru a resis...
- 22 Nov 2009 08:31
- Forum: mikroC General
- Topic: generate sound with PIC16F877A
- Replies: 5
- Views: 2467
- 22 Nov 2009 08:22
- Forum: mikroC General
- Topic: store and display
- Replies: 7
- Views: 2820
well that depend on what sort of temperature sensors u using Commenly a analog thermometer that give analog reading u can declare a unsigned int to store it if it is a digital thermometer u can use one wire function (read the help files on the compiler) to obtain the reading and declare a unsigned i...
- 22 Nov 2009 01:03
- Forum: mikroC General
- Topic: Anyone know a freelance developer who can help with a projec
- Replies: 4
- Views: 1892
is there anyone other than Sobritytest who can take a project help based on microC coding cause i asked him but he said he will be busy for the next 3month or so cant help me i kinda did most of the coding i just need someone to troubleshoot for me so anyone mind to pick up this help request for som...
- 19 Nov 2009 18:43
- Forum: mikroC General
- Topic: ADC loop counting
- Replies: 1
- Views: 1358
ADC loop counting
unsigned int tlong = 0; unsigned short int T1_count = 0; void main () while (1) { tlong = Adc_Read(0) * 5000 / 1023; // Read analog input AN0 if (tlong >= 700) { // if AN0 reading >= 700mV T1_count++; // increment T1_count if (T1_count >= 100) loop1 (); // call loop1 } else { T1_count = 0; // reset...
- 19 Nov 2009 18:16
- Forum: mikroC General
- Topic: how to i display decimal point on the resulting temperature?
- Replies: 22
- Views: 9406
- 06 Nov 2009 09:58
- Forum: mikroC General
- Topic: Manual PWM signal
- Replies: 2
- Views: 1735
Manual PWM signal
unsigned char button1 = 0; // button unsigned char button2 = 0; // button unsigned char button3 = 0; // button unsigned char oldstate = 0; void main() { TRISA = 1; TRISB = 1; TRISC = 1; TRISD = 0; ADCON1 = 0b00000011; INTCON = 0; do { if (Button(&PORTB, 7, 1, 0)) oldstate = 0; if (oldstate && Butto...