combining sketches
-
ok here is the ?
to combine two or more sketches what are the issues?
As I see it say combining two sketches would require all the code from both with the duplications removed, inspection that size is less than max allowed (30 kbs? or so) and availability of pins.
So do I add all of one sketch in define,setup and loop and then add bits needed and libraries required after the first sketch. Then compile and see what I get prior to upload. OR
Require all of both sketches complete one after the other.
Does the arduino/gw care if the code is shared or is it only one sensor per mini pro? Just trying to cut back on the number of p/s and boards I have running - it seems to be getting to be too many wires
-
I found this tutorial, but maybe it is easier to ask who may have combined the two you are trying
lots of folks here creating multi-purpose sketches, so your problem may be solved already!
-
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 23 Feb 2025, 14:57 -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 26 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 15 days ago -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 17 days ago -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 13 days ago