View difference between Paste ID: PQD8q6i5 and cpaLZt5K
SHOW: | | - or go back to the newest paste.
1
g = peripheral.wrap("left")
2
m1 = peripheral.wrap('me_drive_1')
3
m2 = peripheral.wrap('me_drive_2')
4
m3 = peripheral.wrap('me_drive_3')
5
m4 = peripheral.wrap('me_drive_4')
6
m5 = peripheral.wrap('me_drive_5')
7
m6 = peripheral.wrap('me_drive_6')
8
m7 = peripheral.wrap('me_drive_7')
9
m8 = peripheral.wrap('me_drive_8')
10
m9 = peripheral.wrap('me_drive_9')
11
m10 = peripheral.wrap('me_drive_10')
12
m11 = peripheral.wrap('me_drive_11')
13
m12 = peripheral.wrap('me_drive_12')
14
m13 = peripheral.wrap('me_drive_13')
15
m14 = peripheral.wrap('me_drive_14')
16
m15 = peripheral.wrap('me_drive_15')
17
m16 = peripheral.wrap('me_drive_16')
18
m17 = peripheral.wrap('me_drive_17')
19
TB = m1.getTotalBytes() + m2.getTotalBytes() + m3.getTotalBytes() + m4.getTotalBytes() + m5.getTotalBytes() + m6.getTotalBytes() + m7.getTotalBytes() + m8.getTotalBytes() + m9.getTotalBytes()
20
TB = TB + m10.getTotalBytes() + m11.getTotalBytes() + m12.getTotalBytes() + m13.getTotalBytes() + m14.getTotalBytes() + m15.getTotalBytes() + m16.getTotalBytes() + m17.getTotalBytes()
21-
print(TB)
21+
print(TB)
22
print(TB/1000," KiloBytes")
23
print(TB/1000000," MegaBytes")
24
print(TB/1000000000," GigaBytes")