Browse Source

make component variables global

main
Hendrik Langer 8 years ago
parent
commit
de3e50cf81
  1. 1
      src/main.cpp
  2. 20
      src/soundboard.h

1
src/main.cpp

@ -8,6 +8,7 @@
#include "Arduino.h"
#include "hardware.h"
#include "soundboard.h"
#include "keyboard.h"
#include "sdcard.h"
#include "sound.h"

20
src/soundboard.h

@ -0,0 +1,20 @@
#ifndef _SOUNDBOARD_H
#define _SOUNDBOARD_H
#include "hardware.h"
#include "soundboard.h"
#include "keyboard.h"
#include "sdcard.h"
#include "sound.h"
#include "wifi.h"
#define WIFI_SSID "ssid"
#define WIFI_PASSWORD "password"
extern Keyboard keyboard;
extern SDCard sdcard;
extern Sound sound;
extern Wifi wifi;
#endif /* _SOUNDBOARD_H */
Loading…
Cancel
Save