/* Author: Torben Hellige t . hellige [ at ] web.de This file is used to demonstrate the interface to NKK 36x24px SmartSwitches Tested with NKK IS-15F2 This code it just bitbanging the interface. This is not useful for any type of production code. The clock has to be stable, otherwise flicker might occure. */ #include #include #define FLM 2 #define LP 3 #define SCP 4 #define DIN 5 #define NKK_PORT PORTD #define NKK_DDR DDRD uint8_t data[24][36]; void main(void) { NKK_DDR |= (1< 23) real_y = 0; if(x >= 4 && data[real_y][x-4]) NKK_PORT |= (1<