Search found 14 matches

by Frida854
Tue Dec 27, 2016 6:45 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 116943

Re: JavaScript on ESP32 - Duktape

It was much easier, I put this code in 'bootwifi.js' function bootwifi(bootedCallback) { var GPIO = require("gpio.js"); var pin16 = new GPIO(16); // antenne switch var level = false; // true=extern, false=intern pin16.setDirection(GPIO.OUTPUT); pin16.setLevel(level); var bootWiFi_ns = NVS.open("boot...
by Frida854
Mon Dec 26, 2016 6:23 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 116943

Re: JavaScript on ESP32 - Duktape

Don't be I am only a tester. Now it works again. I like to use 'git pull', to see if all works, and maybe chance a little. So for me, just take your time I can wait. I'm reading a lot, but understand so little. I want to ask: when I start, and let it be for a while, it times out and I lose the conne...
by Frida854
Mon Dec 26, 2016 3:31 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 116943

Re: JavaScript on ESP32 - Duktape

I have truble with the latest "git pull". In file: duktape-esp32/main/dukf_utils.c on line 41 LOGD("%s: heapSize=%d", localTag, dukf_get_free_heap_size(); , it seems to be missing the closing ')' line 114 LOGD(">> dukf_loadFile: (ESPFS) %s, heapSize=%d", path, dukf_get_freeHeap()); , it cant find th...
by Frida854
Sun Dec 25, 2016 12:14 am
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 116943

Re: JavaScript on ESP32 - Duktape

I have now compiled your source, and installed that on my "WIPY2.0", incl. file system, and are now running via web ide. Now I am ready to. explore and test your system. The first thing I like to test is input/output to pins.