From 139355b3225ee729f5bd961826876951a2f68648 Mon Sep 17 00:00:00 2001 From: josephinemonica Date: Sat, 6 Jan 2018 01:35:51 +0800 Subject: [PATCH] Update and rename README.txt to README.md --- MA4830_Project2/{README.txt => README.md} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename MA4830_Project2/{README.txt => README.md} (84%) diff --git a/MA4830_Project2/README.txt b/MA4830_Project2/README.md similarity index 84% rename from MA4830_Project2/README.txt rename to MA4830_Project2/README.md index f65f008..b81913b 100644 --- a/MA4830_Project2/README.txt +++ b/MA4830_Project2/README.md @@ -1,11 +1,14 @@ -HOW TO COMPILE THE PROGRAM +### Compiling the Program +``` cc -c hardware_input.c cc -c keyboard_input.c cc -c switch_input_mode.c cc -c initialization.c cc -c generate_wave.c cc -lm hardware_input.o keyboard_input.o switch_input_mode.o initialization.o generate_wave.o -o main main.c - -HOW TO RUN THE PROGRAM +``` +### Running the Program +``` ./main t:wave_type A:A_value m:mean_value f:frequency level D:duty_cyctle_value +``` NOTE: duty cycle only affects for square wave