Hi ,
I want to make a Arduino library for control 74HC595.
How can I use Arduino function and methods for my library without any syntax problem?
I means,I want to prevent red underline from my codes from importing ardino stuff to my library files.
If Atmel Studio is not a suitable for me,what is the suitable IDE that recommend for me?
thak
I write my Arduino library stuff in notepad++. Has all I need. Including highlighting and function lists etc.
Library to send a byte to a '595? Seems like overkill.
PORTB = PORTB & 0b11111011; // D10 low on'328P, SRCK on '595
SPDR = dataByteToSend; // lower case spdr? Need to check. SCK to SRCLK on 595, MOSI to Serial Data In
PORTB = PORTB | 0b00000100; // D10 high, '595 outputs change