User Tools

Site Tools


k_r_chapter_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

k_r_chapter_3 [2017/09/22 06:58]
hutch
k_r_chapter_3 [2017/09/22 08:32] (current)
hutch
Line 5: Line 5:
 ''​gcc -D Q6 ch3_studyQuestions.c''​ ''​gcc -D Q6 ch3_studyQuestions.c''​
  
-If you would like to try these study questions with the Xilinx SDKcreate a new source file (use the process that is is shown in Video V5 on the BYU ECEn 330 youtube channel) and paste the ch3_studyQuestions.c file into a source file in the SDK. Once you have done that, you can compile the individual programs by defining a variable at the top of the file, e.g., +UNLESS SPECIFIED, DON'T USE THE XILINX SDK AS IT IS CONFIGURED TO USE A C++ COMPILER SO THAT IT WILL COMPILE FILES PORTED FROM ARDUINO C++ FILES FOR THE DISPLAY AND TOUCH CONTROLLER. Use [[http://​rextester.com/​l/​c_online_compiler_gcc|rextester]]. ​
- +
-''#​define Q2''​ +
- +
-will compile program Q2. Just change the variable to Q3, Q4, and so forth to run each of these programs in turn. +
- +
-This should make it easier for you to experiment with these programs. Note: make sure that you know exactly why these programs function as they do. Don't just execute them and write down the answers. Compile them, modify them, and experiment with them so you gain a deeper understanding of the principles underlying them. +
- +
-DON'T USE THE XILINX SDK AS IT IS CONFIGURED TO USE A C++ COMPILER SO THAT IT WILL COMPILE FILES PORTED FROM ARDUINO C++ FILES FOR THE DISPLAY AND TOUCH CONTROLLER. Use [[http://​rextester.com/​l/​c_online_compiler_gcc|rextester]]. ​+
  
 <code C ch3_studyQuestions.c>​ <code C ch3_studyQuestions.c>​
k_r_chapter_3.txt · Last modified: 2017/09/22 08:32 by hutch