-->
Page 1 of 1

SPI Library ; Arduino SPI.usingInterrupt(interruptNum)

PostPosted: Mon Oct 03, 2016 8:50 am
by Rob.Binet
Hi,
This is may be a cosmetic issue; but trying to run Arduino sketches that are using the new Arduino (1.5.8 and upward) SPI library gives compilation error because the SPI.usingInterrupt() function is not implemented in the ESP8266 one.
I don't know exactly the impact and this function is maybe irrelevant for the ESP environment, however for compatibility reasons, a dummy function could may be implemented allowing transparency, between the SPI libraries

Robert

Re: SPI Library ; Arduino SPI.usingInterrupt(interruptNum)

PostPosted: Mon Oct 03, 2016 10:25 am
by mrburnette
This seems to be a library issue, not an ESP8266 issue based upon this bug submission:
https://github.com/esp8266/Arduino/issues/1943

Ray

Re: SPI Library ; Arduino SPI.usingInterrupt(interruptNum)

PostPosted: Tue Oct 04, 2016 12:32 am
by Rob.Binet
Yes I know that one and I don't understand this change that downgrades an Arduino AVR improvement to make the rfm69 library compatible with ESP.
Robert