jorim23
Murphy's Law: Anything you try to fix will take longer and cost more than you think.
ik heb eindelijk een volledig werkend programma gemaakt maar ik heb t idee dat ie veel korter kan.
dit is een stukje er van:
portb = %0110010
delayMS 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %1001101
delayMS 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %0110010
delayMS 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %1001101
delayms 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %0110010
delayMS 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %1001101
delayMS 250
if s4 = uit then goto hoofdprogramma
If s1 = UIT Then goto basis
if s3 = uit then goto basis3
portb = %0110010
kan ik dit korter maken? zo ja hoe?
Henry S.
Moderator
Confucius says chà bù duo. Deze post is niet door ChatGPT gegenereerd. De 2019 CO labvoeding.
Subroutines? 
Oftewel... RTFM.
[Bericht gewijzigd door Henry S. op ]
~Galaxy
In the beginning there was nothing.... and even that exploded...
Werkend prog ????
Ik wil het betwijfelen met een 7-bits code op portB.
En ja, natuurlijk kan het korter als dezelfde code tot 3 keer toe wordt uitgevoerd.
Ofwel je hebt het gisternacht met je dronken kop in zitten kloppen, ofwel je bent aan het trollen.
~Galaxy
In the beginning there was nothing.... and even that exploded...
Op 9 juni 2007 03:48:57 schreef Henry S.:
Subroutines?
Oftewel... RTFM.
@ Henry; Wat doe jij hier op dit tijdstip ??
Je hoort in je mandje te liggen...
Theo