The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
# use glob syntax | |
syntax: glob | |
*.obj | |
*.pdb | |
*.user | |
*.aps | |
*.pch | |
*.vspscc | |
*.vssscc |
Verifying my Blockstack ID is secured with the address 1DJNp7oV98WuHjGKPuxpRqjbLeraR24SuF https://explorer.blockstack.org/address/1DJNp7oV98WuHjGKPuxpRqjbLeraR24SuF |
#include<Wire.h> | |
#include <Ultrasonic.h> | |
const int MPU = 0x68; // I2C address of the MPU-6050 | |
const int LDR = A0; | |
const int BUTTON = 4; | |
const int RED = 15; | |
const int GREEN = 12; | |
const int BLUE = 13; |
DEPEND: xtensa-esp108-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -I include -I ./ -I ../include -I /esptools/workspace/ESP32_RTOS_SDK/include -I /esptools/workspace/ESP32_RTOS_SDK/extra_include -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip/ipv4 -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip/ipv6 -I /esptools/workspace/ESP32_RTOS_SDK/include/espressif user_main.c | |
xtensa-esp108-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -I include -I ./ -I ../include -I /esptools/workspace/ESP32_RTOS_SDK/include -I /esptools/workspace/ESP32_RTOS_SDK/extra_include -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip/ipv4 -I /esptools/workspace/ESP32_RTOS_SDK/include/lwip/ipv6 -I /esptools/workspace/ESP32_RTOS_SDK/include/espress |