What you learn today
- Quiz on define, alias, HASH and constants
This week made your programs readable and freed them from the pin limit. The quiz checks what you need in every chip from now on:
- define and alias: names for fixed values and registers. A define must not have another define name as its value – that gives NaN.
- Workshop style: header, numbered sections, Kelvin value with a Celsius comment or
CELSIUSOFFSET, only labels as jump targets. - Constants and namespaces:
pi,rgas,nan,Color.Red,GasType.Oxygen,LogicType.Temperature– and where bare names apply. - HASH, lbn, sbn: type hash plus name hash instead of a pin. Device names in ASCII only.
- Prefabs: display name and prefab name differ, some are misspelt in the game.
You pass from 60 %.
Weekly quiz
11 questions. You pass from 60 % – the server does the grading.
Complete the day
- Passed the quiz with at least 60 %
Without an account progress is saved in this browser only.
Report a mistake in this lesson
Please sign in to report. Sign in