Hello people,
I'm programming a ccd scanner via ATMega16. I'm using the following code to transmit the signal from the chip to the scanner but i'm getting absolutely no response:
while (1){
putchar(0x1b);
putchar(0x54);
putchar(0x0d);
// this code should buzz the scanner but it's not buzzing
}
the scanner's datasheet is at **broken link removed**
and the chip's datasheet is at http://www.atmel.com/dyn/resources/prod_documents/doc2466.pdf
would anyone please have a look at the datasheets and tell me what it is i might be doing wrong...
I really appreciate the help!
Hani A.
I'm programming a ccd scanner via ATMega16. I'm using the following code to transmit the signal from the chip to the scanner but i'm getting absolutely no response:
while (1){
putchar(0x1b);
putchar(0x54);
putchar(0x0d);
// this code should buzz the scanner but it's not buzzing
}
the scanner's datasheet is at **broken link removed**
and the chip's datasheet is at http://www.atmel.com/dyn/resources/prod_documents/doc2466.pdf
would anyone please have a look at the datasheets and tell me what it is i might be doing wrong...
I really appreciate the help!
Hani A.