mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-04-15 03:48:36 +01:00
converted 110 to a quiz (quiz 9)
This commit is contained in:
parent
838fb4ab9d
commit
20596bc290
3 changed files with 3 additions and 3 deletions
|
@ -1269,7 +1269,7 @@ const exercises = [_]Exercise{
|
|||
\\Max difference (new fn): 0.014
|
||||
,
|
||||
},
|
||||
.{ .main_file = "110_bit_manipulation3.zig", .output =
|
||||
.{ .main_file = "110_quiz9.zig", .output =
|
||||
\\Toggle pins with XOR on PORTB
|
||||
\\-----------------------------
|
||||
\\ 1100 // (initial state of PORTB)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- exercises/110_bit_manipulation3.zig 2025-02-08 11:52:35.609300707 -0800
|
||||
+++ answers/110_bit_manipulation3.zig 2025-02-08 13:00:15.414038314 -0800
|
||||
--- exercises/110_quiz9.zig 2025-02-08 13:19:48.522641785 -0800
|
||||
+++ answers/110_quiz9.zig 2025-02-10 17:42:04.525004335 -0800
|
||||
@@ -108,7 +108,7 @@
|
||||
PORTB = 0b1100;
|
||||
print(" {b:0>4} // (initial state of PORTB)\n", .{PORTB});
|
Loading…
Reference in a new issue