I have purchased an Auduino Mega and RFID card

I have purchased an Arduino Mega and RFID RC522 Mifare Card reader, can somebody help me with the following?

I have used a 'readall' program to read my RFID card, see the link below


I have hardly any experience programming and was hoping that some kind person could explain how to output the seven bits of hex code as 7 outputs of '0' and '5' volts (basically logic), I want to use instead of a dill switch.

So if the code from my rfid tag reads 0x00, 0x01 ,0x00, 0x01 ,0x00, 0x01 ,0x00

then my seven outputs would be

0V 5V 0V 5V 0V 5V 0V

This will then go to my device to control it.

Hope some body can help.

https://www.youtube.com/watch?v=nn-nuhAByRk might give you some tips