Hi,
I'm using cc2510.
If I configure a GPIO as an output pin and then write something like P2_0 = 1;
If I will now try to read the pin value will I read the last value I wrote to it?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I'm using cc2510.
If I configure a GPIO as an output pin and then write something like P2_0 = 1;
If I will now try to read the pin value will I read the last value I wrote to it?
Thanks
Hi,
I have a cc2430dk and I have to modify the pin definition for programing my board with a different Hal. The configuration of the leds and the buttons are in the hal_board_cfg.h.
My question is in wish .h or .c there are the configuration of the adc, potentiometer...
tks
The mapping to the ADC channels is done in ZStack-1.4.3-1.2.1\Components\hal\target\CC2430EB\hal_key.c. The only term I found that uses the ADC is for the joystick and initially the potentiometer when creating an address.
The hal_adc.c file implements the various read functions of the ADC.