View ReTry-test.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.codetinkerhack | |
import scala.collection.immutable.IndexedSeq | |
import scala.concurrent.blocking | |
import scala.concurrent.duration.DurationInt | |
import scala.concurrent.duration.FiniteDuration | |
import scala.util.Failure | |
import scala.util.Success | |
import scala.util.Try |
View ReTry.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.codetinkerhack | |
import akka.actor.{ ActorRef, Props, Actor, ActorLogging } | |
import akka.pattern.ask | |
import akka.util.Timeout | |
import scala.concurrent.duration._ | |
import akka.actor.Actor.Receive | |
import akka.pattern.pipe | |
import scala.util.Success | |
import scala.util.Failure |
View midiKeyboard64keys.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pin Definitions | |
// Rows are connected to | |
const int row1 = 5; | |
const int row2 = 6; | |
const int row3 = 7; | |
const int row4 = 8; | |
const int row5 = 4; | |
const int row6 = 3; | |
const int row7 = 2; | |
const int row8 = 1; |
View midiKeyboard_VelocityAftertouch.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pin Definitions | |
// Rows are connected to Digital | |
const int rowPin[] = { 6, 7, 8, 5 }; | |
// FSRs connected to Analog | |
const int fsrPin[] = { 2, 3, 4, 5 }; | |
// The 74HC595 uses a serial communication | |
// link which has three pins | |
const int clock = 12; |
View midiKeyboard.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pin Definitions | |
// Rows are connected to | |
const int row1 = 5; | |
const int row2 = 6; | |
const int row3 = 7; | |
const int row4 = 8; | |
// The 74HC595 uses a serial communication | |
// link which has three pins | |
const int clock = 9; |