Main Site Documentation

Its possible to make Digital Di8 as InterruptPort on Fez Domino


#1

i want to make Di8 as InterruptPort on Domino, and can someone help me


#2

not possible. Check the Domino documentation, the pinout map clearly states DI8 is not interrupt input capable.


#3

tnx


#4

and one question, i want to read analog input size with 0 to 12V, and also is this possible?


#5

Sure, by using a voltage divider : only 2 resistors !
Look here for information : http://en.wikipedia.org/wiki/Voltage_divider

Since the analog pins reads voltage from 0 to 3,3v, you will need for your example to use a 4x factor;

With real world resistors values, for Z1 you can use a 3,3K resistor, for Z2 a 1K resistor, and you will be able to read from 0 to 14 volts.
Connect Vout to your FEZ board analog pin, and Vin is your probeā€¦
http://www.raltron.com/cust/tools/voltage_divider.asp


#6

tnx very much, but has someone example, need help


#7

May I suggest you run through http://wiki.tinyclr.com/index.php?title=Category:Beginner_Guide_ebook first?

Then to read analog inputs: http://wiki.tinyclr.com/index.php?title=C-Sharp_Level2#Analog_input_.26_output

Greetings.