Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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

    Hi,

    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