generation of line and sine signal

Started by Denis Lebedev November 20, 2006
1. in what window of CCS i can see this message from program??
puts("Generating signal\n");

2. i'm student i need create sine generators

Array of datas sineTable[BUF_SIZE] for 226Hz, 660Hz, 1000Hz, 1500Hz
in what program i can create this arrays?
const short sineTable[BUF_SIZE]{0x0000, 0x000f, 0x001e, 0x002d, 0x003a, 0x0046, 0x0050, 0x0059,
0x005f, 0x0062, 0x0063, 0x0062, 0x005f, 0x0059, 0x0050, 0x0046,

I need create generator of signal which built signal from max (V)
to min (V) during 4 seconds by line low in cycle.

whan i create line signal from MAX to
MIN during 10msec - it's ok
100msek - ok too
but when i create during 1 sec it's wrong? why?