Answered: Digital in Analog Ports

Is it against the rules to use digital sensors in analog sensor ports?

Is it against the rules to use Y-Cables to connect multiple digital sensors to a single port?

I have been through the entire “The Robot” section and could not find anything to the contrary but I thought I would ask just to be sure here.

Both of these setups are legal.