Robyn,
Turining on the digital output is simple :
Select either Pin 10, 11 or 13 as follows :

Use the if loop to detect the digital input :

Hope that helps
Regards
Gary
--
You received this message because you are subscribed to the Google Groups "S4A Community Mail List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s4a-communit...@googlegroups.com.
To post to this group, send email to s4a-co...@googlegroups.com.
Visit this group at http://groups.google.com/group/s4a-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/s4a-community/6f2d6c13-5ce6-4ad8-b1d5-31d8e6ab6ed6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/s4a-community/BAY407-EAS430992940D7A4A12DDB3CAACDDA0%40phx.gbl.