Dear community
I´m using the Arduino Create Web based editor. Does any one know where the h and ccp files are stored and how they can be viewed / modified?
Dear community
I´m using the Arduino Create Web based editor. Does any one know where the h and ccp files are stored and how they can be viewed / modified?
What .h and .cpp files? Are they in a library? Are they part of the Arduino core? If so, you probably have no access to them. If you want to edit them you might be able to add them to your sketch in new tabs.
petergillbr:
Does any one know where the h and ccp files are stored
All source code is stored on Arduino's server in the cloud. If you check "Console: Show verbose output" in the Arduino Web Editor "Preferences" menu, compile a sketch, then examine the contents of the black console pane at the bottom of the Arduino Web Editor window, you can see all the paths. But that information probably won't be of much use to you since the code isn't on your computer.
petergillbr:
how they can be viewed / modified?
Here are the instructions for libraries:
You'll now have the library open in the Arduino Web Editor, where you can view and modify the contents as you like.
You also will notice there was a "Download Library" option in that menu. If you prefer, you are welcome to download the library and then open it in your text editor of choice on your own computer. If you want to modify it there, you can then import the library from your computer back to Arduino Web Editor, after which it will be shown in the "Custom" tab of the libraries.
Thanks for the quick reply. I´m interested in the LoRa.h and Lora.cpp files. I would like to check if it is possible to tweak the transmission power
petergillbr:
Thanks for the quick reply. I´m interested in the LoRa.h and Lora.cpp files. I would like to check if it is possible to tweak the transmission power
Always best to provide a link to a library, so we can be sure.
If its this one;
And follow the links on the page to the API documentation.
Thanks!
instance.setTxPower(X); Where x is 0 -> 14
petergillbr:
Thanks!
Thats OK.
I did not have the links to the Github location saved but a Google search on 'Arduino LoRa.h' found it.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.