Important: Please read the Qt Code of Conduct -

spi byte transfer

  • hello i am writing a code for sending a byte per spi interface.
    with raspberrypi2. I would like to no what hat to be on a constructor
    besides the initialisation of Variable?

  • Lifetime Qt Champion


    That's a pretty open ended, usually whatever you need to initialize your class unless that initialization should return some status. It that case do it in a separate method so you can propagate the information correctly.

Log in to reply