I'm currently trying to connect a sensor with an analog output to the CC2530 board. From my understanding, I can connect the sensor's output to the I/O pins on the board which correspond to pins connected to the chip. We then need to code the chip to recognize that that pin is a digital input. For example, I would connect my sensor to P5, pin 12 on our board. This pin corresponds to P1, pin 11 on the EM Board which corresponds do P0.0 on the chip. I would then need to program the chip to recognize P1, Pin 11 as an input. Is this correct? If not, could you guide me in the right directions?
↧