Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds HX711 Issue #101 #116

Merged
merged 11 commits into from
Jan 12, 2022
17 changes: 17 additions & 0 deletions src/hx711-element.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { html } from 'lit';
import './hx711-element';

export default {
title: 'Hx711',
urish marked this conversation as resolved.
Show resolved Hide resolved
component: 'wokwi-hx711',
argTypes: {
value: { control: { type: 'number', min: -2147483648, max: 2147483647, step: 1 } },
},
args: {
value: 0,
},
urish marked this conversation as resolved.
Show resolved Hide resolved
};

const Template = () => html`<wokwi-hx711 v</wokwi-hx711>`;
urish marked this conversation as resolved.
Show resolved Hide resolved

export const Default = Template.bind({});
Loading