Re: [Amforth] shiftOut

2018-10-31 Thread Tristan Williams
Jan, >From Erich Wälde's excellent commented project "Clock Works" I would recommend http://amforth.sourceforge.net/Projects/ClockWorks/07_shift_register.html Regards, Tristan On 31Oct18 10:11, Jan Kromhout wrote: > Hi, > > Is there a equivalence of the Arduino "shiftOut(dataPin, clockPin, b

Re: [Amforth] shiftOut

2018-10-31 Thread Martin Bitter
Hello Jan, 'shift' and 'data' 'clock' lead me to the assumption that you want to deal wit SPI. If so just include ../avr8/words/sprw.asm while compiling. Take in account that here clockPin and dataPin are hardcoded. Maybe that ../avr8/lib/hardware/spi.frt meets your wishes better.(no compil

[Amforth] shiftOut

2018-10-31 Thread Jan Kromhout
Hi, Is there a equivalence of the Arduino "shiftOut(dataPin, clockPin, bitOrder, value)" in Amforth? Cheers, Jan ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinf