Skip to content

Commit

Permalink
Correction of help side
Browse files Browse the repository at this point in the history
* Update of documentation
  • Loading branch information
AxelHamburch authored Mar 30, 2022
1 parent aef2415 commit 1ede8cd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 28 deletions.
8 changes: 2 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,11 @@ def button_pushed():
display.update_wallet_fault()
time.sleep(2)

print("18. init_screent()")
display.init_screen(0)
time.sleep(2)

print("19. display.update_startup_screen()")
print("18. display.update_startup_screen()")
display.update_startup_screen()
time.sleep(2)

print("That's it!")
print("That's it, have fun!")

config.PUSHES = 0
return
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/add_on_zero2.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ Look at:

---

#### [option: lockout relay](/docs/guide/relay.md) ᐊ previous | next ᐅ [README](/README.md)
#### [option: lockout relay](/docs/guide/relay.md) ᐊ previous | next ᐅ [README](/README.md)
2 changes: 1 addition & 1 deletion docs/guide/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Note: This camera was pretty cheap and has a variable lens that was pretty loose

---

#### [option: button](/docs/guide/button.md) ᐊ previous | next ᐅ [option: lockout relay](/docs/guide/relay.md)
#### [option: button](/docs/guide/button.md) ᐊ previous | next ᐅ [option: lockout relay](/docs/guide/relay.md)
28 changes: 8 additions & 20 deletions docs/guide/we_need_your_help.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,30 @@
## We need your help for testing!!! 🙏
## Would you like to help test the new version? 📖🧐

With this update comes a change of the GPIO inputs and outputs. This makes the inputs less sensitive to EMI interference that could lead to unwanted pulses. So if you had sporadic problems with your ATM, you should definitely try this update.

In addition, the function of a lockout relay for the coin acceptor was also implemented with the update. A useful function that one or the other has certainly wished for after the coin impulses were lost or the coin value was incorrectly recognized. A detailed documentation can be found in the new chapter [option: lockout relay](/docs/guide/relay.md).

We have added some display messages and button functions and now need beta testers that have one of the following display versions.

- Waveshare 2in7
- PaPiRusZero 2in
- Inky pHAT

The Waveshare 2in13v2, 2in13d and 2in66 has already been tested, but it never hurts if someone else tests it too. 😉

For help testing you need the button. _`Note:`If you don't have it yet, you can quickly "simulate" it yourself. Just short-circuit like pin 17 and 29 from the [wiring](/docs/guide/wiring.md)._ We added two new display messages and a button function that shows all display messages if you push the button 9 times. All button functions a described [here](/docs/guide/button.md). We want to know if everything works and, above all, if the last two display messages no. 14 and 15 are shown correctly.

To participate, you must update your AMT software once with our trial version. Don't worry, I've written step-by-step instructions for this that really anyone can use and all your configuration data such as wallet and settings will be retained. You can easily undo the whole thing afterwards
To participate, you must update your AMT software once with this new version. Don't worry, we have written a step-by-step instructions for this that really anyone can use and all your configuration data such as wallet and settings will be retained. You can easily undo the whole thing afterwards

---

### 1. Update to the new trial version
### 1. Update to the new version

Log into the RPi and then stop the ATM service once, make a backup from directory LightningATM, clone the new Github to "temp", sync once from "temp" to "LightningAMT" and then delete the "temp" directory that is no longer needed.

$ sudo systemctl stop LightningATM.service
$ mv LightningATM LightningATM_Backup
$ git clone https://github.com/21isenough/LightningATM.git
$ git clone --branch master https://github.com/21isenough/LightningATM.git temp
$ rsync -a temp/ LightningATM/
$ sudo rm -r temp

### 2. Start and test the trial version
### 2. Start and test the version

$ cd LightningATM
$ ./app.py

- It takes a few seconds for the display to update, but then..
- The ATM has started and you can use it normally or test the functions.
- `Note:` If you "simulate" the button you may have to set the `payoutdelay = 0` in the `config.ini` to aktivate the button. See [edit_config](/docs/guide/edit_config.md).
- `Note:` Be careful not to press the button 7 times. This will delete your wallet data and you will have to re-enter or scan it.
- If you press the button 9 times, all 16 messages should be displayed once. You can also track this in the terminal.
- You can ignore the first message. The message looks a bit strange. 😜 There is still work to do!
- Stop the ATM with `CTRL+C`

### 3. If you don't like this version and want to get rid of it
Expand All @@ -59,4 +47,4 @@ Restart the LightningATM service
- Your ATM should now restart as usual
- If you find some issues or have some suggestions call @AxelHamburch in the telegram group or on Github

## Thank you for your support! ❤️
## Thank you for your support! ❤️

0 comments on commit 1ede8cd

Please sign in to comment.