Difference between revisions of "CSC231 Lab 6"

From dftwiki3
Jump to: navigation, search
(New page: <!--Image:UnderConstruction.gif --> Back to CSC231 Weekly Schedule =CSC 231 Lab # 6= right © D. Thiebaut, 2008)
 
Line 7: Line 7:
 
[[Image:ArduinoStamp.jpg | right]]  
 
[[Image:ArduinoStamp.jpg | right]]  
 
© D. Thiebaut, 2008
 
© D. Thiebaut, 2008
 +
 +
==Assembly Part==
 +
 +
* Open a Terminal window under Ubuntu and type
 +
  sudo su
 +
  cd
 +
* Highlight the contents of the file [[CSC231 driver.c | driver.c]] and type Control-C to copy it to the clipboard
 +
* In the terminal window type
 +
 +
  cat > driver.c
 +
 +
:and then click the middle button of your mouse to paste the code you had highlighted
 +
* Type Control-D to close the file.
 +
* Repeat the same operations for the files
 +
** [[CSC231 asm_io.inc | asm_io.inc ]]
 +
** [[CSC231 asm_io.asm | asm_io.asm ]]
 +
** [[CSC231 ledOn.asm | ledOn.asm ]]

Revision as of 15:35, 29 October 2008

Back to CSC231 Weekly Schedule


CSC 231 Lab # 6

ArduinoStamp.jpg

© D. Thiebaut, 2008

Assembly Part

  • Open a Terminal window under Ubuntu and type
  sudo su
  cd
  • Highlight the contents of the file driver.c and type Control-C to copy it to the clipboard
  • In the terminal window type
  cat > driver.c
and then click the middle button of your mouse to paste the code you had highlighted