Zigbee ADC on-chip temperature sensor
Experimental on-chip temperature sensor
The code was found online, and then I thought about it myself.
/***********System clock initialization*********************************/
void InitClock(void)
{
CLKCONCMD &= ~0x40; //Set the system clock source to 32MHZ crystal oscillator
while(CLKCONSTA & 0x40); / ...
Added by jmicozzi on Wed, 29 Dec 2021 14:12:04 +0200
ZigBee wireless lighting example
light_switch.c code explanation: no matter which experimental code you look at, the first thing to look for is the main function:
void main ( void ) {
uint8 appMode = NONE; /* The mode of the module is not set */
/* Config basicRF */
basicRfConfig.panId = PAN_ID;
basicRfConfig.channel = RF_CHANNEL;
basicRfConfig ...
Added by JoeZ on Sun, 26 Sep 2021 08:18:44 +0300