Hi. Regarding the Smart Switch project in PE July 2019 -
1. Am I right in thinking "OPTION = 0x1F" selects the WDT and pre-scaler to its longest setting? As the WDT isn't used is this something to do with efficiency when the device is 'sleeping'?
2. "char" is used for the variable pinStatus and not, as one might assume and 'unsigned int'. Is this to save on memory space allocation or for another reason?
Thanks in advance.
1. Am I right in thinking "OPTION = 0x1F" selects the WDT and pre-scaler to its longest setting? As the WDT isn't used is this something to do with efficiency when the device is 'sleeping'?
2. "char" is used for the variable pinStatus and not, as one might assume and 'unsigned int'. Is this to save on memory space allocation or for another reason?
Thanks in advance.