Hi,
Is there a way to manipulate the port register directly with the PSoC4 platform like the ATmega from the Arduino project?
e.g.
void setup() {
DDRD = B11111111; // set PORTD (digital 7~0) to outputs
}
void loop() {
PORTD = B11110000; // digital 4~7 HIGH, digital 3~0 LOW
delay(1000);
PORTD = B00001111; // digital 4~7 LOW, digital 3~0 HIGH
delay(1000);
}