[Oberon] Batch processing of Oberon commands
Hellwig Geisse
hellwig.geisse at mni.thm.de
Sat Jun 13 09:04:03 CEST 2020
Tomas,
On Sa, 2020-06-13 at 07:30 +0200, Tomas Kral wrote:
>
> I introduced a delay of 100ms here in the ORC.SR loop.
> It compensates for RPI end running faster to FPGA end.
>
> WHILE (S.class # Texts.Char) & (S.c # "~") DO
> IF S.class = Texts.Int THEN Texts.WriteInt(W, S.i, 6); SendInt(S.i)
> ...
> END ;
> Texts.Scan(S); Wait(100) (*RPI host delay*)
> END ;
>
I think that delays are not the best way to go.
They solve the problem at hand only for a specific
combination of processing and communication speed,
whereas handshaking does away with it once and
for all.
Hellwig
More information about the Oberon
mailing list