anchor.diff:  
   %% Release the PWM peripheral
   stop() ->
  -%%	pwm:release(),
  -    pwm:stop(),
  +    pwm:stop(pwm1),
  +    pwm_sup:stop(),
       bye.
   
   %% Change the value of the led from the min value to the max value
   fade_in(X) when X =< ?MAX_PWM ->
  -	 pwm:value(X),
  +	 pwm:value(pwm1, X),
   	 timer:sleep(2),
   	 fade_in(X+1);
   fade_in(_X) ->
  
positive.code: %%% @author Ivan Iacono <ivan.iacono@erlang-solutions.com> - Erlang Solutions Ltd
  %%% @copyright (C) 2013, Erlang Solutions Ltd
  %%% @doc Changes the brightness of led from the min value to the max value and
  %%%      and come back.
  %%% @end
  
  -module(pwm_demo).
  
negative.code: 
  %% Initialize the PWM peripheral
  init() ->
      pwm_sup:start_link([{pwm1, "/dev/pwm1"}]).
  
  %% Run the demo
  start() ->
  