Skip to content

Commit

Permalink
going back to my version of gede
Browse files Browse the repository at this point in the history
  • Loading branch information
felias-fogg committed Sep 23, 2023
1 parent ba9eee4 commit 66d141d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ All of the commands marked with (*) reset the MCU.

If you believe that GDB is too much typing, then you are probably the type of programmer who wants a graphical user interface. As it turns out, it is not completely trivial to come up with a solution that is easy to install and easy to work with. Recently, I stumbled over *gede*, which appears to be just the right solution. It has been designed for Linux, but after a few small changes it also works under macOS. Unfortunately, Windows is not supported. However, you could use [*WSL2*](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) to run Gede, avr-gdb, dw-server.py and the Arduiono IDE. Connecting to a serial port could then be done by using [*usb-ip*](https://github.com/dorssel/usbipd-win).

Making a long story short, you can download the source from https://gede.dexar.se/ and build it according to the instructions in the readme file. It is straight-forward and easy.
Making a long story short, you can download the source from my [fork of gede](https://github.com/felias-fogg/gede) and build it according to the instructions in the readme file. It is straight-forward and easy.

The `dw-server` directory of the dw-link directory contains a Python script called `dw-server.py`, which you should copy to `/usr/local/bin`.

Expand Down
Binary file modified docs/manual.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/blinkmodes/blinkmodes.ino
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void loop() {
if (Serial.available()) {
c = Serial.read();
if (isupper(c)) Serial.write(tolower(c));
else Serial.write(toupper(c));
else if (islower(c)) Serial.write(toupper(c));
}
}

Expand All @@ -50,7 +50,7 @@ void readButton() {
mode = (mode+1) % 4; // go to next mode
}

ISR(TIMER0_COMPA_vect) { // timer ISR
ISR(TIMER_COMPA_vect) { // timer ISR
counter++; // advance counter
if (mode == 0)
digitalWrite(LEDPIN, 0); // in mode 0, switch LED off
Expand Down

0 comments on commit 66d141d

Please sign in to comment.