Просмотр исходного кода

converted 110 to a quiz (quiz 9)

Alexander Sisco 6 месяцев назад
Родитель
Сommit
20596bc290
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      build.zig
  2. 0 0
      exercises/110_quiz9.zig
  3. 2 2
      patches/patches/110_quiz9.patch

+ 1 - 1
build.zig

@@ -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)

+ 0 - 0
exercises/110_bit_manipulation3.zig → exercises/110_quiz9.zig


+ 2 - 2
patches/patches/110_bit_manipulation3.patch → patches/patches/110_quiz9.patch

@@ -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});