276°
Posted 20 hours ago

32 AMP Plug To 16 AMP Socket 240V Blue 4mm HO7RN-F Changeover Lead

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

Please Note: There may be minor differences in the specification and appearance between the European model and US model featured in these articles.

starts 98/54 = 1, remainder 44 ; but now we need 447/54 and we don't have the routine to handle the three digits of 447.Yes I looked at Jeremy's excellent documentation with interest and have filed it away for another day, but think it might be rather resource hungry for your specific requirement. That's quite a timely request, I've just been drafting the explanatory text to go with the code, which I hope to post in the "code snippets" section later this evening. Ends of the cable have been terminated using ferrules to reinforce the cable and to extend/prolong the life of the extension lead. It might be necessary to step through the code a statement at a time to see where things were going astray. The tent has 3 central poles and ridge pole, the walls are detachable which is great for ventilation in the summer.

We have other school projects underway that need this expanded PICAXE maths function so are interested in finding an elegant solution. Your suggestiom to move from bit bashing (base2) to bytes ( base256) and maybe even words ( base 65535) to do the long division might have some merit ( given that we would constrain the values so that the answer always fits into a word to prevent overflow) I tried to think how to do this starting by dividing the high word by the divisor (/) which should almost always give a result of zero and maybe a remainder (//) which if not zero will always be less than the divisor. Did that work for you or was what you posted an older undebugged version - if so what should it be please? The initial divisor and bitMask shift is sub-optimal, simply shifts until the msb of divisor is set then lets subsequent compares fail so some wasted loops in both cases but will always work. However, I think I've tried that before and encountered complications, but maybe only with overflow/underflow checking, which (I assume) we're ignoring here.

Fitted with a 32 AMP 240V IP44 rated 2P+E industrial plug and 16 AMP 240V IP44 rated 2P+E industrial socket. Thinking more about the repeated use of "partial" divisions (byte, word or any other base), I now rather doubt that it's a viable solution.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment