PCF8575 and DCS-BIOS library

Home Forums Arduino PCF8575 and DCS-BIOS library

Viewing 1 reply thread
  • Author
    Posts
    • #18177
      Bob

        Can PCF8575 work inside another library such as DCS-BIOS?
        https://github.com/dcs-bios/dcs-bios-arduino-library/releases

        I require more inputs and trying to use pcf8575 with Arduino Mega.
        Base code for DSC is as follows…

        ********************************************************
        /*
        Tell DCS-BIOS to use a serial connection and use interrupt-driven
        communication. The main program will be interrupted to prioritize
        processing incoming data.

        This should work on any Arduino that has an ATMega328 controller
        (Uno, Pro Mini, many others).
        */
        #define DCSBIOS_IRQ_SERIAL

        #include “DcsBios.h”

        /* paste code snippets from the reference documentation here */
        DcsBios::Switch2Pos gearLever(“GEAR_LEVER”, PPIN);

        void setup() {
        DcsBios::setup();
        }

        void loop() {
        DcsBios::loop();
        }
        ***************************************************

        please fogive me as i am new to Arduino and Coding.

      • #18178
        Renzo Mischianti
        Keymaster

          Hi,
          no, you use It externally.
          And I don’t know how to work with that library.
          Bye Renzo

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.
      Exit mobile version