Skip to content

codebydant/atm_controller_bearrobotics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implement a simple ATM controller

Insert Card => PIN number => Select Account => See Balance/Deposit/Withdraw
This is a simple implementation of an atm controller using a command line user interface

Example


Test in local

python3.7 main.py

Test in atm

This is a test with a listener and publisher node:

  • Listener: read a string for testing the controller in the atm
  • Publisher: send the string to test the controller in the atm

In atm_controller/include:

  1. In one terminal run:
python3.7 real_atm_listener.py
  1. In another one run
python3.7 sample.py y
  1. In the first terminal follow the steps.

Step-by-step

  1. read if card is inserted
  2. read pin number
  3. select account
  4. see balance/deposit/withdraw

About

This is the repo for the atm controller coderbyte last coding test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages