Additional demo projects ======================== 1. Project for utilization of Embedded Beans - list of values in runtime Some Embedded Beans allows to define in design time list of verified parameters, which could be then used in runtime. Typical examples are : baudrate settings, various timers settings. Following examples show practical usage of this feature with different Beans. - projRT1: TimerInt - periodical, enabled period change 'from list of values' - init value (mode 0): 1 sec - mode 1: 0.5 sec - mode 2: 2 sec - during event - increases ctr8 (8 bit counter) - if value in ctr8 is a multiple of 5 sets init value of TimerInt period (mode 0 - call SetPeriodMode(0)) ExtInt - Slower - during event slows down TimerInt ticking (sets mode 2) - call SetPeriodMode(2) - Faster - during event shortens TimerInt ticking (sets mode 1) - call SetPeriodMode(1) ByteIO - output value of the counter ctr8 main - sets ctr 8 to 0 - in the endless loop writes value of the ctr8 to the ByteIO output - projRT2: PWM - period of 256ms - initial duty 128ms (of 256ms) - method SetDutyMS enabled ExtInt - on event changes ration to 64 of 256 ms (call SetDutyMS(64)) TimerInt - every 2 seconds restores value to 128 of 256ms (call SetDutyMS(128)) - projRT3: AsynchroSerial - communication speed change enabled via 'from list of values' - init value (mode 0): 2400 bps - mode 1 : 31250 bps ExtInt - Reset - during event sets the basic communication speed (sets mode 0 - call SetBaudRateMode(0)) - Fast - during event sets the faster communicatin speed (sets mode 1 - call SetBaudRateMode(1)) 2. Fully utilized MCU This project shows, how he or she could utilize MCU using different beans. PE Resource Meter View shows MCU resources allocation. - Full1: Fully utilized CPU with PPG, PWM, TimerInt, Asynchro & Synchro Serial, CAN, ADC, ExtInt, ByteIO, BitsIO, and BitIO. 3. LED tutorial project This project is the result of following all the steps of the CW-PE Tutorial.ppt