Any ideas what the library would actually do? Realistically I'm not going to be able to add drivers for 450 different boards :)
Why not? ;-)
I was only thinking about really small code examples for setting up the communication interfaces (UART, SPI or I2C) on the correct pins. Or even better, a kind of abstraction layer for modules compatible with the "mikroBUS" (spec here: https://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf)
In page 6 is showed the pinout of the mikroBUS.
I could be very cool to be able to get access to this by calling some thing like
var mikroBUS= new mikroBUS();
digitalPulse(mikroBUS.RST, 1, 5);
mikroBUS.SPI.send("some data");
analogRead(mikroBUS.AN);
//and so on...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Why not? ;-)
I was only thinking about really small code examples for setting up the communication interfaces (UART, SPI or I2C) on the correct pins. Or even better, a kind of abstraction layer for modules compatible with the "mikroBUS" (spec here: https://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf)
In page 6 is showed the pinout of the mikroBUS.
I could be very cool to be able to get access to this by calling some thing like