Modification examples
Modification examples
Now that everything's set up, it's time to do something cool.
If you're wondering what are the things that you can change on the phone, the answer is - pretty much everything!
Two main files out of the bunch are MAKERphone.cpp and MAKERphone.h.
Basically, .h files are header files and you don't want to mess around with them since they don't really contain any functionalities.
On the other hand, .cpp and .c files are the ones you want to edit.
The place where you should be spending most of your time is in the other src folder, the one containing all the default apps.
If you're wondering what are the things that you can change on the phone, the answer is - pretty much everything!
Two main files out of the bunch are MAKERphone.cpp and MAKERphone.h.
MAKERphone.cpp
If you're not familiar with the .cpp and .h extensions, it's time for you to use your friend Google and get acquainted.
Basically, .h files are header files and you don't want to mess around with them since they don't really contain any functionalities.
On the other hand, .cpp and .c files are the ones you want to edit.
The place where you should be spending most of your time is in the other src folder, the one containing all the default apps.
Src folder containing all the default apps
In this folder, you can find and edit the files that define all the default menus, apps, and other main functionalities.
For example, you can change the color of LEDs in the flashlight app like this.
Changed lines are 10 and 11
Now when you build and upload the firmware, the first color of LEDs in the list inside the flashlight app will be purple instead of cyan.
However, this will only change the color of the LEDs, not the color shown on the screen, which is something you're going to have to change additionally in the flashlight app.
Everything is ready for your creations now!
In our GitHub you can find many examples on how to use different functions and how to create your own apps.
Have fun and most importantly - keep making!