This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This #include statement was automatically added by the Spark IDE. | |
#include "elapsedMillis/elapsedMillis.h" | |
#define APP_VERSION 1.1 | |
long distance = 0; | |
long echo = 0; | |
const int trigPin = D0; | |
const int echoPin = D1; | |
const int led = D7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cart-panel.cart-panel-hidden | |
#cart-title Cart | |
= inline_svg "shop.svg", class: "cart-svg svg" | |
#cart-info | |
= label :user, :name, 'SID', class: "cart-label" | |
= text_field :user, :name, class: "cart-input" | |
= label :user, :comment, 'Comment', class: "cart-label" | |
.comment-arrow | |
= text_area :user, :comment, class: "cart-textarea", cols: "18", rows: "2" | |
= label :user, :items, 'Items', class: "cart-label" |