26 lines
803 B
Markdown
26 lines
803 B
Markdown
# Arduino digicode brute force interpretor
|
|
|
|
## Subject
|
|
|
|
## Usage
|
|
|
|
1. You can modify the passcode of the digicode by changing the variable ``CODE`` in the file ``src/pin_handler.h``
|
|
|
|
*Note that the passcode must end with a '#'*
|
|
|
|
2. Run the command ``make prepare``
|
|
|
|
*This will create a ``student.tar.gz`` that will contain the static library used to run the student code and the parser code*
|
|
|
|
3. To test the ``student.ino`` just run ``make run``
|
|
|
|
## Warning
|
|
|
|
This is a very very basic parser, and so it will not work with a certain number of cases:
|
|
* if you don't use the variable for the pin numbers
|
|
* if you write 'digitalWrite()' on several lines
|
|
* if you move the loop() opening bracket on the next line
|
|
* if the main loop() call others functions
|
|
* if you use arduino or c++ specific functions
|
|
* ...
|