nRF52dk with Espruino #7179
Replies: 1 comment
-
Posted at 2017-03-03 by @gfwilliams Which firmware are you using? that should work fine... Posted at 2017-03-03 by Amigo I find at nordic devZone this hex espruino_1v86.26_nrf52832 here: Posted at 2017-03-03 by @gfwilliams Ahh, that's pretty old - I think before software I2C got added. Posted at 2017-03-03 by Amigo Ooh, thanks a lot!!!! It works well! Posted at 2017-03-03 by Amigo And one else question. Are i2c pins already defined by default? Posted at 2017-03-03 by Wilberforce Post your error messages now you have updated the firmware... Posted at 2017-03-04 by Amigo I rebuild code with soft i2c, ssd1306 works, but it skips every other line. And symbols seems are broken. What a problem may be? Attachments: Posted at 2017-03-04 by Amigo And one else question. how to flash mcu? it doesnt works in settings...flasher...flash Posted at 2017-03-04 by @gfwilliams What is your display brand/model number? Some of those SSD1306 displays have different connections internally and need different initialisation codes :( You can't flash the nRF52DK using the Web IDE. However if what you're asking is how to write your JS code in to flash, you type It's worth going through the getting started tutorial as it'll explain it: http://www.espruino.com/Quick+Start Posted at 2017-03-04 by Amigo yes. Understood)
it works while i am not saving program in flash. After saving my service disappears Attachments:
Posted at 2017-03-04 by @gfwilliams Put the code in an Posted at 2017-03-05 by Amigo
SSD1306 oled display from china has a number at back side: GM009606A , i used it with my C library in keil. It worked nice. How can i repair it? Where i can find source file to fix it? Next time i tried to connect CC3000 wlan module (TI CC3000 booster pack), but compiler says than cc3000 and http modules not found and i have a log :
Is CC3000 supported? I use nrf52DK Posted at 2017-03-06 by @gfwilliams This is the JS fine for SSD1306: https://github.com/espruino/EspruinoDocs/blob/master/devices/SSD1306.js#L33 You can copy the code in to the Web IDE directly and use it - compare the highlighted lines with the ones in your C code. Chances are the configuration is different. I'm afraid the CC3000 isn't supported by default in nRF52 - GSM and ESP8266 should be though. If you want CC3000 you'd have to compile your own firmware. Posted at 2017-03-12 by Amigo Does Espruino support scheduler or simple task manager? Posted at 2017-03-13 by @gfwilliams I'm not quite sure what you mean? It has a built in scheduler which you use with setTimeout/setInterval, and it uses that (and an internal event queue) to execute functions when they're needed. There is no preemption, but that's not really what JS is about. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-03 by Amigo
Hi everyone! I use nrf52-DK with Espruino ide.
I want to start soft i2c. I tried to use hardware and software examples as http://www.espruino.com/I2C.
I wrote a code:
but everytime i have an error message like:
Could anyone help me?
Beta Was this translation helpful? Give feedback.
All reactions