Skip to content

Commit

Permalink
feat: SH1107
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed May 19, 2024
1 parent 3f3c239 commit 41da070
Show file tree
Hide file tree
Showing 12 changed files with 372 additions and 218 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Uri Shaked
Copyright (c) 2024 Uri Shaked

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: © 2022 Uri Shaked <uri@wokwi.com>
# SPDX-FileCopyrightText: © 2024 Uri Shaked <uri@wokwi.com>
# SPDX-License-Identifier: MIT

SOURCES = src/main.c
Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Inverter Chip example

Example of a basic custom chip for [Wokwi](https://wokwi.com/).

The actual source code for the chip lives in [src/main.c](src/main.c), and the pins are described in [chip.json](chip.json).
# SH1107 Chip for Wokwi

## Building

The easiest way to build the project is to open it inside a Visual Studio Code dev container, and then run the `make` command.

## Testing

You can test this project using the [Wokwi extension for VS Code](https://marketplace.visualstudio.com/items?itemName=wokwi.wokwi-vscode). Open the project with Visual Studio Code, press "F1" and select "Wokwi: Start Simulator".

If you want to make changes to the test project firmware, edit [test/blink/blink.ino](test/blink/blink.ino), and then run `make test` to rebuild the .hex file. You'll need the [arduino-cli](https://arduino.github.io/arduino-cli/latest/installation/), which is already installed in the dev container.

## License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more details.
19 changes: 10 additions & 9 deletions chip.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"version": 1,
"name": "Inverter",
"name": "SH1107",
"author": "Uri Shaked",
"license": "MIT",
"docs": "https://github.com/wokwi/inverter-chip/blob/main/docs/README.md",
"pins": [
"OUT",
"IN",
"VCC",
"GND"
]
"SCL",
"SDA",
"GND",
"VCC"
],
"display": {
"width": 128,
"height": 128
}
}
32 changes: 0 additions & 32 deletions diagram.json

This file was deleted.

Loading

0 comments on commit 41da070

Please sign in to comment.