??? 03/27/08 04:06 Read: times Msg Score: -1 -1 Looks like homework |
#152592 - 8051 tone generator |
My task is to make a tone generator that output the 7 basic tone:A,B,C,D,E,F,G,G# by pressing the corresponding input.I know how to write the code in assembly by using the timer register and write a delay function corresponding the notes frequency.My other task is to interface it with a Microchip 25040 EEPROM using SPI protocol, which I dont know what is the use of it.
My question is how to write the same code in C?because I need to combine the SPI initialization code with the tone generator code to burn it in 8052 microcontroller. Any suggestion on how make this work is welcome. |
Topic | Author | Date |
8051 tone generator | 01/01/70 00:00 | |
What have you done so far?![]() | 01/01/70 00:00 |