Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Store the Function for later use

How to store the function name,parameter list of various classes for later use in c++.

#ifndef SPI_H_
#define SPI_H_

#include "msp430g2553.h"


class SPI {
public:
    typedef void (*foo)(void);
    static foo mycallback;

    static void transmitData(unsigned char data, foo callback);
    static void call();
};

Comments