Post Created date
[CODE] [C] Simplifying PORT and DDR #defines for Portability
Problem solved, thanks anyway
Thursday, 8 October 2015 - 13:20
[CODE] [C] Simplifying PORT and DDR #defines for Portability
Problem solved, thanks anyway
Thursday, 8 October 2015 - 13:20
[CODE] [C] Simplifying PORT and DDR #defines for Portability
Hi guys,  I'm trying to do something like that but i got an error on my first define. I'm trying to do a decode for a joystick and make it portable. But when i do this #...
Wednesday, 7 October 2015 - 16:43
Academic Question Converting Data
theusch wrote: "I learn so much more from re-inventing the wheel."  Truly academic exercise--i.e., homework?   I'd be tempted, if a homework exercise, to re-invent itoa...
Tuesday, 3 March 2015 - 23:35
Academic Question Converting Data
Koshchi wrote: After talking a while, now i know it is not use the sendString. sendChar takes a single character. sendString takes a pointer to an array of characters. You can...
Tuesday, 3 March 2015 - 23:25
Academic Question Converting Data
Koshchi wrote: for(i=0;i<8;i++) { while(num!=0) { number[i]= num % 2; num = num / 2; } } This makes no sense. Why do you have the while loop in there? Also...
Tuesday, 3 March 2015 - 20:02
Academic Question Converting Data
theusch wrote: I had used itoa function and it was Ok, but i need to do the conversion manually, so i increment a variable each second (by ISR_Timer1) and then i take the variable...
Tuesday, 3 March 2015 - 19:51
[DIS] - Interrupts Conflict USART and TIMER1
Thanks for the explanation David.   Great forum, great people, i'll be a pro.... some day :) Thanks a lot for contributing to my learning. I which i can do whatever i want...
Thursday, 19 February 2015 - 23:23
[DIS] - Interrupts Conflict USART and TIMER1
Hi guys, thanks a lot for your prompt replys, i had commented out the UDRIE0 and it is working great. I'm a newbie and all help is very apreciated.  Thanks once more for...
Thursday, 19 February 2015 - 20:03
Hi everybody, Debug or my code problem?? :(
Quote:Quote: Quote: PINC = 0x01; //ENABLE INTERNAL PULL-UP RESISTOR ON PINC0 But that is not what that line of code does?!? To enable a pull-up you write to PORTC not PINC You...
Monday, 30 June 2014 - 18:57
Hi everybody, Debug or my code problem?? :(
Quote:Quote: Can it be "if (bit_read(PINC,0)==0)"??? Not only can it be, it must be. PORTC is for output, PINC is for input. I don't understand. I had changed my code and that way...
Friday, 27 June 2014 - 18:54
Hi everybody, Debug or my code problem?? :(
Why my timer doesn't start? I had set it up in TCCR1B i had activated the TIMSK1 regiter bit OCIE1A (to enable the output compare interrupt enable bit)and after incremented the "j...
Friday, 27 June 2014 - 18:44

Pages