Found a few pins from a lookalike project that seems to work. let ResetPin = 0; let LedPin = 16; let DHTpin = 22; let SOILpin = 32; let LIGHTpin = 34;
Problem now is that i try to use the DHT11 module do get the correct values but it throws a nasty looking error:
>Guru Meditation Error of type InstrFetchProhibited occurred on core 0. Exception was unhandled. Register dump: PC : 0x0d160a16 PS : 0x00060031 A0 : 0x80082c7a A1 : 0x3ffb05c0 A2 : 0x00000017 A3 : 0x00000000 A4 : 0x00400000 A5 : 0x3ff44024 A6 : 0x3ffb7048 A7 : 0x00000016 A8 : 0x80082b79 A9 : 0x3ffca468 A10 : 0x00000000 A11 : 0x00000017 A12 : 0x0000ff91 A13 : 0x00000029 A14 : 0x00000000 A15 : 0x3ffd4aa0 SAR : 0x00000016 EXCCAUSE: 0x00000014 EXCVADDR: 0x0d160a14 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000 Backtrace: 0x0d160a16:0x3ffb05c0 0x40082c77:0x3ffb05e0 0x40081715:0x3ffb0600 ================= CORE DUMP START ================= dBkAAAgAAAB0AQAA GP36P3DS/D/c0/w/ cNL8P3DT/D945NPslCf7P5Qn+z8Y/fo/jCf7PxkAAAD0XKtwsRm3OBj9+j8AAAAA AAAAAODP/D9JRExFABf6CkLVuO7D988AAAAAANzT/D8AAAAAIQAGAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFjj+j/A4/o/KOT6PwAAAAAAAAAA AQAAAAAAAABQKUA/AAAAAEgdAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAA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AABDm+j9pcGMwADbWN1Aq930z/XkAAAAAAAzq+j8AAAAAIQAGABgAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFjj+j/A4/o/KOT6PwAAAAAAAAAA AQAAAAAAAABQKUA/AAAAAEgdAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJjXI 2BQIQEVRCEAwAAYA7xEIgEDp+j+85fo/AAAAAATm+j8AAAAAAQAAAAAAAAAQUgiA IOn6P9wA8D8BAAAAgCn7P2A7/j8MC/s/AgAAAAAAAAClpaWlpaWlpQAAAAAAAAAA AAAAANUWCEBgO/4/AGoIQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgOn6PwAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAKDp+j8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB6DgiAEDz+Pwwn+z+c+/o/ AAAAAAAAAACs6fo/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA ================= CORE DUMP END ================= E (93442) esp_core_dump: Skipped 1 tasks with bad TCB! E (93487) esp_core_dump: Crashed task has been skipped! Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x00 clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0008,len:8 load:0x3fff0010,len:1932 ho 0 tail 12 room 4 load:0x40078000,len:10012 load:0x40080000,len:252 entry 0x40080034 _____ _
Any thoughts ?
@Gustav started
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.
Found a few pins from a lookalike project that seems to work.
let ResetPin = 0;
let LedPin = 16;
let DHTpin = 22;
let SOILpin = 32;
let LIGHTpin = 34;
Problem now is that i try to use the DHT11 module do get the correct values but it throws a nasty looking error:
Any thoughts ?