The LCD screen is a 16bit display
pls is a variable that i have initialized as a form of count
PB1/2 are my switches which i have initialized already
pulse1 & pulse2 has been initialized under my port 2^0 and port 2^7 on my 8051
things to note:
upon connecting to a power source, a current can felt through the electrode gel pads.
setting a logic '1'(inverted) to the pulse1 & pulse2 will create an actual electric pulse whereby it off for a period of time(depending on my delay input)
When i set the infinite while loop(while(1)), there is practically no current felt. Removing it is a nay, as i need it for displaying a message on my LCD display e.g. FES power 0,1,2,3,4,5
Hoping for someone who can enlighten me/advise me on my program.
my objective(as of now) is to set 5 different types of electric pulses (using delays) while showing the different types of pulses upon pressing a switch button
P.s. its mainly the programming part that im facing an issue, though not much related to circuit diagram on the FES part.