cd4027-help.pd 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #N canvas 581 224 647 312 12;
  2. #X obj 79 38 tgl 15 0 empty empty CLK 17 7 0 10 -24198 -62784 -1 1
  3. 1;
  4. #X obj 93 53 tgl 15 0 empty empty SET 17 7 0 10 -24198 -62784 -1 0
  5. 1;
  6. #X obj 108 68 tgl 15 0 empty empty RESET 17 7 0 10 -24198 -62784 -1
  7. 0 1;
  8. #X obj 123 83 tgl 15 0 empty empty J 17 7 0 10 -24198 -62784 -1 1 1
  9. ;
  10. #X obj 138 98 tgl 15 0 empty empty K 17 7 0 10 -24198 -62784 -1 1 1
  11. ;
  12. #X obj 79 146 cd4027 v;
  13. #X obj 138 172 tgl 15 0 empty empty /Q 17 7 0 10 -143491 -241291 -1
  14. 0 1;
  15. #X obj 79 172 tgl 15 0 empty empty Q 17 7 0 10 -143491 -241291 -1 1
  16. 1;
  17. #X text 173 65 Sets Q=0. Overrides Clock;
  18. #X text 133 35 A 0-1 transition or a bang clocks the flipflop.;
  19. #X text 142 50 Sets Q=1. Overrides Reset and Clock;
  20. #X text 237 264 20070307MartinPeach;
  21. #X text 27 5 cd4027 emulates one half of the CMOS logic J/K flipflop.
  22. ;
  23. #X text 157 80 When Q=0 and J=1 \, Q will change on next clock.;
  24. #X text 168 96 When Q=1 and K=1 \, Q will change on next clock.;
  25. #X obj 6 89 metro 100;
  26. #X obj 6 67 tgl 15 0 empty empty empty 17 7 0 10 -44926 -90881 -1 0
  27. 1;
  28. #X connect 0 0 5 0;
  29. #X connect 1 0 5 1;
  30. #X connect 2 0 5 2;
  31. #X connect 3 0 5 3;
  32. #X connect 4 0 5 4;
  33. #X connect 5 0 7 0;
  34. #X connect 5 1 6 0;
  35. #X connect 15 0 5 0;
  36. #X connect 16 0 15 0;