Run on the Flip
input1 is pulsed at 1Hz, Pulse seen on led
input2 changes state with no input applied. No pulse seen on led.
330ohm resistor in series with low current led
connected between each pin and gnd.
#include "simpletools.h" // Include simple tools
int main() // Main function
int input1 = 1 << 17; // Input pin mask
int input2 = 1 << 18; //
int Ticks = 0;
waitcnt(CLKFREQ/2 + CNT);
printf(" CLOCK Freq = %d \n\n" , CLKFREQ);
printf(" input1 High count %d \n\n" , Ticks);
printf(" input2 %d \n\n" , get_state(input2));
Have monitiored input pin with logic probe and no change of input detected.
Am I doing something wrong or is there a problem.
I'm a newbie to both Propeller and C.
Like a dog with a bone