Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e5fc8ea10 | ||
|
|
28f029ce03 | ||
|
|
cb42a45aa7 |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -7,8 +7,8 @@ on:
|
||||
- 'arduino_pong.ino'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/ci.yml'
|
||||
- '*.cpp'
|
||||
- '*.h'
|
||||
- 'src/*.cpp'
|
||||
- 'src/*.h'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "Arduino_LED_Matrix.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "pong_render.h"
|
||||
#include "pong_player.h"
|
||||
#include "pong_ball.h"
|
||||
#include "src/config.h"
|
||||
#include "src/pong_render.h"
|
||||
#include "src/pong_player.h"
|
||||
#include "src/pong_ball.h"
|
||||
|
||||
// create LED matrix object
|
||||
ArduinoLEDMatrix matrix;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#define P1_BTN_UP 13
|
||||
#define P1_BTN_BOTTOM 12
|
||||
#define P2_BTN_UP 11
|
||||
#define P2_BTN_BOTTOM 10
|
||||
#define P1_BTN_UP 12
|
||||
#define P1_BTN_BOTTOM 11
|
||||
#define P2_BTN_UP 10
|
||||
#define P2_BTN_BOTTOM 9
|
||||
|
||||
#define MATRIX_WIDTH 12
|
||||
#define MATRIX_HEIGHT 8
|
||||
Reference in New Issue
Block a user