tones: keep frequencies in tone tables in 8.8 fixed point format
main: do phase math using a uint16_t fixed point
Use ARRAY_LEN instead of sizeof to detect end of fixed tone pattern