![]() |
Forum Index : Microcontroller and PC projects : (MM-DM) Interesting code
Author | Message | ||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
10 IF PIN(0)=1 THEN PIN(0)=1 ELSE PIN(0)=0 20 GOTO 10 Works on an MM, need to fix it on the DM, as it has a bug. And what does it do? Cheers Don... https://www.dontronics.com |
||||
swoodgate![]() Newbie ![]() Joined: 24/11/2011 Location: AustraliaPosts: 14 |
It controls the front panel LED according to the Maximite manual and it seems like it’s meant to blink this LED but I think it should say: 10 IF PIN(0) THEN PIN(0)=0 ELSE PIN(0) = 1 20 GOTO 10 Best regards Steve |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Close, but no cigar Steve. ![]() Cheers Don... https://www.dontronics.com |
||||
swoodgate![]() Newbie ![]() Joined: 24/11/2011 Location: AustraliaPosts: 14 |
Now I'm going to have to go home and try it! ![]() |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Sorry Steve. ![]() Cheers Don... https://www.dontronics.com |
||||
rhamer Senior Member ![]() Joined: 06/06/2011 Location: AustraliaPosts: 174 |
Causes a rip in the space time continuum...... Rohan Hamer HAMFIELD Software & Hardware Solutions Makers of the Maximite Expander. http://www.hamfield.com.au |
||||
ajkw Senior Member ![]() Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Sets the Power LED (on or off) to the state of the Bootload button. |
||||
Bryan1![]() Guru ![]() Joined: 22/02/2006 Location: AustraliaPosts: 1396 |
Just tried on the DM here but sworry can't give the answer away.... Also just did on the SM1 and the answer was too easy...... |
||||
swoodgate![]() Newbie ![]() Joined: 24/11/2011 Location: AustraliaPosts: 14 |
That'll teach me to read all the manual before posting a reply. ![]() |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Yes, was in the manual. Looks like the streak knives, and the world trip, goes to Anthony. ![]() My thanks to Ken Segler for the code snippet. (After a few questions were asked) Cheers Don... https://www.dontronics.com |
||||
marcwolf![]() Senior Member ![]() Joined: 08/06/2009 Location: AustraliaPosts: 119 |
Streak knives? Is that some sort of protection against streakers? Take Care Dave Coding Coding Coding.. Keep those keyboards coding.. RAW CODE!!!!! |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
...///... there goes one now. ![]() Cheers Don... https://www.dontronics.com |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |