Thread Tools
Apr 17, 2019, 06:21 AM
AndyKunz's Avatar
How are the two conditions of the macro different? I see the same code in both the #if and #else portions.

ANdy
Sign up now
to remove ads between posts
Apr 17, 2019, 08:03 AM
Registered User
Kambalunga's Avatar
Pure laziness and not well sleeped. In the original it looks like this.
Code:
In Teensy for Arduino 1.8.9

analog_init();
	
#if TEENSYDUINO >= 142
	delay(50);
	usb_init();
	delay(500);
#else
	delay(50);
	usb_init();
	delay(250);
#endif

Can replaced then with 

analog_init();
        delay(5);
	usb_init();
	delay(5);
Last edited by Kambalunga; Apr 17, 2019 at 08:09 AM.
Sep 13, 2019, 03:53 AM
Registered User
Kambalunga's Avatar

Hobbywing V4 telemetry


A Arduino sketch for HobbyWing Platinum V4 (V5) telemetry for X-Bus.
Last edited by Kambalunga; Oct 06, 2019 at 11:58 AM. Reason: A Arduino sketch for


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Aircraft Telemetry GPS Sensor by Spektrum RC_AVIGATOR Radios 149 Feb 19, 2019 12:44 PM
Sold Spektrum Spektrum TM1000 Telemetry Module and Sensors 45.00 Shipped New Unused boatdoc Aircraft - General - Radio Equipment (FS/W) 0 Mar 30, 2012 02:05 PM
Sold Spektrum Spektrum TM1000 Telemetry Module and Sensors 45.00 Shipped New Unused boatdoc Aircraft - General - Radio Equipment (FS/W) 0 Mar 26, 2012 01:22 PM
Sold Spektrum Spektrum TM1000 Telemetry Module and Sensors 45.00 Shipped New Unused boatdoc Aircraft - General - Radio Equipment (FS/W) 4 Mar 26, 2012 05:52 AM
Sold Spektrum Spektrum TM1000 Telemetry Module and Sensors 45.00 Shipped New Unused boatdoc Aircraft - General - Radio Equipment (FS/W) 2 Mar 22, 2012 09:04 AM