[Oberon] FPGA - nRF24L01 `RPI Net' server

Tomas Kral thomas.kral at email.cz
Thu May 24 09:34:11 CEST 2018


On Thu, 24 May 2018 06:45:54 +0200
Jörg <joerg.straube at iaeth.ch> wrote:

> head1.typ is very important as it steers/controls the whole state
> machine of Net.Mod.

How about this?

PROCEDURE reply(msg: INTEGER);
BEGIN
 IF msg = 0 THEN head1.typ := 0 (* reset state machine *)
 ELSIF msg = 1 THEN Texts.WriteString(W, " no link")
  ...
  ...

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list