esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.01k stars 13.33k forks source link

ESP_12 SPI with ublox m8n #3133

Closed rt3j closed 7 years ago

rt3j commented 7 years ago

Hello everyone, I would like to connect my GNSS of virtual robotix that has a neo m8n ublox GNSS receiver with my esp 12 via SPI.

I set the GNSS module in SPI mode via UART... done. But I cannot find anything relevant to use SPI on esp 12. I saw some functions on the manual but those was just to connect 2 esp 12 together. I can't find any API or example how to use an SPI in esp_12. Can you help me?

I just would like something similar to the serial like: SPI.read(buffer_read); and SPI.write_to_slave(string);

ecc.... thanks!

bebo-dot-dev commented 7 years ago

I've not done this myself so this is the best I can offer:

rt3j commented 7 years ago

Ok but my problem is that I'm not using arduino, I'm using the SDK and the GCC compiler on linux and I'm compiling on the linuz terminal. It's the first time that I don't use a normal IDE like arduino, this is the fact a can't find anything but Thanks for the answer anyway, I'll try to reassembly all this code to use them in my code :) ....

bebo-dot-dev commented 7 years ago

ah ok I probably made an incorrect assumption you were building stuff with the esp8266 arduino core (this project) since the issue was raised here.

Good luck, sounds like a challenge 😀

rt3j commented 7 years ago

pff yes sorry, it's my fault.. anyway I think I'll transfer my project on arduino....