22 lines
448 B
Plaintext
22 lines
448 B
Plaintext
module Spark_Analog 'cat;Operators'
|
|
author 'Fab Lab BH'
|
|
version 1 0
|
|
description ''
|
|
|
|
spec 'r' 'Film Pressure Pin' 'Film Pressure Pin _' 'num' 39
|
|
spec 'r' 'PhotoResistance Pin' 'Photoresistance Pin _' 'num' 39
|
|
spec 'r' 'Potentiometer' 'Potentiometer Pin _' 'num' 39
|
|
|
|
to 'Film Pressure Pin' Pin {
|
|
return (analogReadOp Pin)
|
|
}
|
|
|
|
to 'PhotoResistance Pin' Pin {
|
|
return (analogReadOp Pin)
|
|
}
|
|
|
|
to Potentiometer Pin {
|
|
return (analogReadOp Pin)
|
|
}
|
|
|