forked from wokwi/inverter-chip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
372 additions
and
218 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# SPDX-FileCopyrightText: © 2022 Uri Shaked <[email protected]> | ||
# SPDX-FileCopyrightText: © 2024 Uri Shaked <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
SOURCES = src/main.c | ||
|
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
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. |
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
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 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.