/*******************************************************************************
* rp-blink-mosfet    Example circuit to drive LED using MOSFET.                *
*                                                                              *
* JST Lawrence, 2019 Novel Devices                                             *
* Source code at http://www.noveldevices.co.uk/rpdl/rp-blink-mosfet.c          *
*                                                                              *
* V1.0    01-Mar-2019 Written.                                                 *
*                                                                              *
*                                                                              *
*******************************************************************************/

#include <wiringPi.h>
#define PIN 0

int main(void)
{
  wiringPiSetup() ;
  pinMode(PIN,OUTPUT) ;
  
  while(1)
  {
    digitalWrite(PIN,HIGH);
	delay(150) ;
    digitalWrite(PIN,LOW);
	delay(150) ;
  }
  return 0 ;
}