User Tools

Site Tools


notes:c4eng:fall2022:projects:sss1

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng:fall2022:projects:sss1 [2022/10/04 13:51] – [DIGITALWRITE] lbrant2notes:c4eng:fall2022:projects:sss1 [2022/10/27 03:53] (current) – [NOTES/FREQUENCIES] ilaface
Line 1: Line 1:
 =====WIRINGPI REVIEW===== =====WIRINGPI REVIEW=====
 +Remember to set pins used to output mode. 
  
 +pinMode (pin[X], OUTPUT);
 +
 +
 +pin[X] is assuming you have a pin array set up.
 ====PINMODE==== ====PINMODE====
  
Line 13: Line 18:
 Value: the value that is to be assigned to the pin either HIGH or LOW Value: the value that is to be assigned to the pin either HIGH or LOW
 ====DIGITALREAD==== ====DIGITALREAD====
 +digitalRead Reads the value from a specified digital pin, either HIGH or LOW. It's syntax reads " digitalRead(pin) "
 ====DELAY==== ====DELAY====
  
 =====NOTES/FREQUENCIES===== =====NOTES/FREQUENCIES=====
  
 +In this project and in the last project we have had to use the frequencies of different notes to put together a song. A frequency is what determines the pitch of a sound. A note is used to represent the pitch and duration of a sound in musical notation. From the notes that are found on pieces of sheet music they need to be converted to a certain frequency to match the original sound of the song. This can be solved with note frequency charts, showing the differentiation between octaves.
notes/c4eng/fall2022/projects/sss1.1664891507.txt.gz · Last modified: 2022/10/04 13:51 by lbrant2