|
Posted by Benz on January 19, 2008, 5:46 pm
> I'm working on a project involving a Speakjet and a PIC chip I'm
> programming in C and have run into some trouble. Anyone able to help
> me out?
Let me give some more information:
I am using serial communication to a PIC chip programmed in C. When
the setup is turned on, the Speakjet enunciates "Ready." Using the
following code, I can cause it to enunciate "Ready" an additional
time:
#include <16F877.h>
#include <stdio.h>
#use delay(clock 000000)
#use rs232(baud–00, xmit=PIN_D1)
void main()
{
delay_ms(2000);
printf("");
delay_ms(2000);
printf("V");
}
---
However, I have tried a number of methods and I can't get it to say
anything else from the list of sounds in the Speakjet user manual
(http://lib.store.yahoo.net/lib/e-clec-tech/speakjetchip.pdf ). I am
wondering if anyone could post a simple sample code in C that would
show me how to make it enunciate a word? I am entirely unfamiliar with
other programming languages and only somewhat familiar with C, so
something as simple and as thoroughly explained as possible would be
very much appreciated.
|
> programming in C and have run into some trouble. Anyone able to help
> me out?