stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 105

Day 105 of 365 · Advanced · Month 4: Network in detail

Review week 15: device checks

Ten questions on the week: ReferenceId, device checks, indirect pins and deprecated instructions.

Review 12 min Week 15

What you learn today

  • Quiz on ReferenceId, device checks and deprecated instructions

This week was about not addressing devices blindly. The key points for review:

  • ReferenceId: every device number is fixed. You read it with l r0 d0 ReferenceId, after that l r1 r0 Temperature works with the number in the register.
  • sdse / sdns / bdse / bdns: first ask whether a device is there, then read.
  • bdnvl / bdnvs: jump when a device cannot read or cannot write a LogicType.
  • dr0: the pin whose number is in r0 – ideal for loops over all pins.
  • Deprecated: ld, sd, getd, putd and label still run but no longer belong in new code. l, s, get and put take the ReferenceId themselves.

You pass from 60 %, the explanations appear after handing in.

Weekly quiz

10 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

Esc
↑ ↓ selectEnter open/ opens search anywhere