I've seen a lot of people asking for the original demo code that is running on the FRDM-KL25Z when it is first removed from packaging and powered up. The original code consists of logic that changes the built-in RGB LED colour based on values from the on-board accelerometer, with brightness control coming from the use of the board's capacitance slider. This is originally running as a pre-compiled .srec file that can be flashed to the board (along with other examples) that are supplied in the Quick Start Package.
Since I have not been able to find a re-creation anywhere I've made one with the online mbed compiler using pre-existing libraries that are openly available via the search bar on mbed.
Please follow this link to receive the code / import to your own mbed workspace:
http://mbed.org/users/B50132/code/FRDM_DEMO_CODE/
This program should also be visible through the use of the search bar within the mbed compiling environment.
Instructions here for anyone that has not yet set-up their FRDM board for use with mbed:
mbed FRDM KL25Z Getting Started - Handbook | mbed
NOTE:
Code for re-creating the demo within CodeWarrior exists within the 'KL25_SC.exe' file that can be downloaded from below. However, the demo code does not come with project files and cannot be directly imported to CW. Starting from scratch and porting the code over is the way to go with that.
Enoy! :smileyhappy:
David
Arethere any resctrictions? Do I need to have a special permission?
The link takes me to an error message, while I'm logged with my user account:
Sorry, you do not have sufficient permissions to perform this operation.
No this link is public! You should only need to log in to gain access.