I'm playing around with OpenPeripheral trying to make it scan items in my chest, I thought I'd start with one. I keep getting the "attempt to index ? (a nill value)" at line 7 Error, here's my code.
chest = peripheral.wrap("container_chest_0")
chestInfo = chest.getStackInSlot(1)
for i,j in...