2018-12-02, 03:20 PM
(2018-11-29, 05:40 PM)ddelorme Wrote: Question:
Is there a reason why the buff is set to 128 as below
This device has 2k of ram, so 128 here doesn't matter. it is on the stack anyway, but 32 as you say should be just fine, but the result is the same.
Quote:the general idea is have the Arduino send nmea to rpi via nrf24l01 when rpi gets request to change state of anchor light send 2 byte code to arduino that then changes state of pin controlling mosfet for anchor light and or some other task like change adjustment for wind vane.
Not sure having this complication is needed for an anchor light. What about just having a switch that can apply 0, 6 or 12 volts up the mast? The anchor light only works with 12 volts (LEDS) but the arduino runs on either.