I'm bit-banging from a 32MX (80MHz) to a 74HC164 8-bit shift register. My clock is controlled by RA9, data via RA10 and the chip enable is through RB7. Why doesn't the following work please? void ValveSet(unsigned char data)
{
char i;
_LATB..
{
char i;
_LATB..