got compile error on input_t

hi guy

need some help here

#include <SPI.h>

#include <Mirf.h>
#include <nRF24L01.h>
#include <MirfHardwareSpiDriver.h>
#include <MirfSpiDriver.h>

#include <a_delays.h>
#include <a_input.h>

#define redLed 4
#define greenLed 5
#define PB1 6

INPUT_T PBIn1(PB1, uint8_t);

void setup(void){
  Serial.begin(57600);
  pinMode(redLed, OUTPUT);
  pinMode(greenLed, OUTPUT);
  digitalWrite(redLed, HIGH);
  digitalWrite(greenLed, HIGH);
  pinMode(PB1, INPUT_PULLUP);
  Mirf.csnPin = 9;
  Mirf.cePin = 8;
  Mirf.payload = 8;
  Mirf.channel = 90;
  Mirf.spi = &MirfHardwareSpi;
  Mirf.init();
  Mirf.config();
  //digitalWrite(lightBulb, lightState);
  Mirf.setTADDR((byte *)"lights1");
}

void loop(void){
  byte data;

 if (PBIn1.state() == IN_HIGH_LOW){
    Serial.print("working..");
    digitalWrite(greenLed ,LOW);
    data = 's';
    Mirf.send(&data);
    While(Mirf.isSending());
    
  }
}

For those of us without the libraries to test the code could you please give details of the error ?

Hi, can you explain what errors are you getting? Simply using

need some help here

doesn't give any idea about the problem you are facing.

If it's a compile time error tell exactly which error you are getting. People can help you better if you provide these details.