Arduino Nano + 7 Segment Display

Thanks. I take it that they run off digital pins?

I also need to connect an accelerometer to the arduino nano, would I have enough pins left?