Single pixel code for testing mats