/* A table for a sine function * There are 16 entries in the table * Each entry ranges from 0 to 15 * The formula used is (int)(128*sin(angle) - 0.5) */ *TYPE[] TABLENAME* = { 8, /* 0.00 */ 10, /* 0.38 */ 13, /* 0.71 */ 14, /* 0.92 */ 15, /* 1.00 */ 14, /* 0.92 */ 13, /* 0.71 */ 10, /* 0.38 */ 8, /* 0.00 */ 5, /* -0.38 */ 2, /* -0.71 */ 1, /* -0.92 */ 0, /* -1.00 */ 1, /* -0.92 */ 2, /* -0.71 */ 5, /* -0.38 */ } ;