split main .ino fine into multiple sub files
This commit is contained in:
7
pong_ball.h
Normal file
7
pong_ball.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef PONG_BALL_H
|
||||
#define PONG_BALL_H
|
||||
|
||||
void point_scored();
|
||||
void move_ball(int &ball_x, int &ball_y, int &loop_delay, int p1_start, int p2_start, int &need_refresh);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user