Skip to content

Commit

Permalink
start docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
zbauman3 committed May 28, 2024
1 parent 08a261b commit 20442bc
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

An AVR project for a simple DIY mouse jiggler. This uses an ATTINY85, a 16MHz crystal, 4 capacitors, 4 resistors, 2 zener diodes, and a USB-C plug.

A parts list, detailed description, and images will be added shortly. For now, take a look at the KiCAD schematics in [./hardware](./hardware) and the AVR source code in [./firmware](./firmware).
Check out the docs at [zbauman3.github.io/workermouse/](https://zbauman3.github.io/workermouse/).
4 changes: 2 additions & 2 deletions firmware/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ uint8_t hasData() {

if (lastMillis == 0) {
lastMillis = nowMillis;
// random between 1000 and 7000
millisDelay = rand() % (7000 + 1 - 1000) + 1000;
// random between 100 and 7000
millisDelay = rand() % (7000 + 1 - 100) + 100;
return 0;
}

Expand Down
5 changes: 5 additions & 0 deletions site/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
markdown: GFM
kramdown:
input: GFM

theme: jekyll-theme-cayman
53 changes: 53 additions & 0 deletions site/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">

<head>
<meta charset="UTF-8">
<style>
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
color: #6668b0 !important;
}

.home-header {
height: 40px;
font-size: 20px;
display: flex;
justify-content: flex-start;
align-items: center;
}

.img-sm {
width: 200px;
max-width: 100%;
}

.img-full {
width: 100%;
}
</style>
{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style"
type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
{% include head-custom.html %}
</head>

<body>
<main id="content" class="main-content" role="main">
<div class="home-header">
<a href="https://zbauman3.github.io/workermouse/" rel="Go home">Home</a>
</div>
{{ content }}
</main>
</body>

</html>
7 changes: 7 additions & 0 deletions site/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Worker Mouse

An AVR project for a simple DIY mouse jiggler. This uses an ATTINY85, a 16MHz crystal, 4 capacitors, 4 resistors, 2 zener diodes, and a USB-C plug.

## Site Index

- COMING SOON

0 comments on commit 20442bc

Please sign in to comment.