Create device

device code