It's all was for old B4R versions supporting only Arduino 1.x.
Merging 3 .bin files from B4R Object\bin folder into a single firmware file "merged-flash.bin":
Flashing "merged-flash.bin" file into the board via COM-port and esptool.exe:
Forgotten to plug USB-cable from the board...
this is a simple B4A class to make easy the use of the built-in led of our beloved android devices.
Tested on various devices up to android 8.
The goal is to use the led as a Torch.
The code is commented and comes with an example.
It uses inline java and depends on:
Hi to all,
I'am trying to use the flash led of the phone like a Torch. I searched the community and found some examples (listed below), but none of them work in newer phone.
To be more specific:
- Motorola XT1039, Android 5: All example works
- Sony Z5 Compact, Android 7: No Example Work