Post Created date
ks0108 GLCD Library Help Needed
Quote:I would like the "tube / no tube" detect text to display like the counter text Try to trick it, instead of ks0108Puts("I see a tube"); use this: ks0108Puts...
Monday, 11 February 2008 - 05:03
Passing array return value
Wow, all of you are great! It works! Thanks everybody :D
Tuesday, 5 February 2008 - 09:52
Passing array return value
Hi Dean, after struggling a little bit, Yes it works! But um, there is a slight error on the memcpy part. In order to work, it should be: memcpy(somevar, anything, 4);...
Tuesday, 5 February 2008 - 09:16
Passing array return value
But then, how do i assign the function with "somevar"? uint8_t *anyfunction() // this one already fixed { uint8_t anything[4]={1,2,3,4}; return anything; } int main(...
Tuesday, 5 February 2008 - 07:51
Atmega - LCD HD44780
forgive me for this silly question: where is the usual prefix? .org 0 i didn't see it any. It is a good behavior to explicitly state your program's starting point to end point...
Friday, 1 February 2008 - 13:21
I2C Slave interrupt driven
Quote:i can read data from the master, but a bit tricky when i am writing data, and waiting for the master to ACK the data etc.. According to many trusted sources i found, hey,...
Friday, 1 February 2008 - 12:04
Amega8, trying to use A/D-converter (working now)
hmm, why would you connect ADC0 to STK500's AREF? The code itself seems right. It is more likely hardware problem. Have you setup the jumpers in STK500 correctly? I can say...
Friday, 1 February 2008 - 11:45
I2C Slave interrupt driven
You said that you want to use interrupt based TWI Slave receive, but where is your ISR function? Try to debug it. Disable the interrupt by commenting the sei(); then read the TWI...
Friday, 1 February 2008 - 11:32
Avoiding Division
Hi, i have another idea that might work for you (but this has worked for me long long time ago) 8) The theory is simple: use lookup table. Setup the equation in Microsoft Excel (...
Friday, 1 February 2008 - 11:23
Error Handling in Function that Returns Char & Uses All
Oh my God, there are so many ways to Rome right? I prefer this one: if(add(12, 24,...
Friday, 1 February 2008 - 09:57
434Mhz receiver questions - newb questions
Yes, 434Mhz is crowded ISM band. i'm agree with DocJC. Invent your own protocol, package your data inside of it, so you can send your data safely. If you send a small amount of...
Saturday, 29 December 2007 - 11:41
Strange thing happens on Port D bit 4.
Quote:have you shown all your code? That's my code. Global Interrupt Enable is used by timerPause(100); to run properly. The timerPause procedure uses sleep while the timer counts...
Saturday, 29 December 2007 - 10:58

Pages