It not a joke!!! It is the truth!!!

Giving people what they want: violence and sloppy eating

Time and place
mini me + poo
lovingboth

I can remember seeing my mother's School Certificate exam papers – this was the forerunner to O-Levels, except that you had to pass six papers including English and maths in order to get a certificate, rather than getting a separate English, Maths etc pass.*

The paper I particularly remember was the Arithmetic one (there was another one for other aspects of maths) where a typical question went something like 'The Atlantic Ocean is (so many miles, furlongs, chains, yards, feet, and inches) across, and the RMS Queen Mary crosses it in (so many days, hours, minutes, and seconds). Find her average speed.'

This is the intro to saying that another old exam paper has been found. In 1960, L's father took The Chartered Institute of Secretaries (Southern African division) Intermediate Accountancy exam. Question 2, the second of the three compulsory questions, was about the XYZ Lawn Tennis Club. Amongst the things people answering the question had to take into account was..

Two natives are employed by the Club, one to attend to the courts at a wage of £4 per week, the other to serve tea and minerals at a wage of £1 per week.

!!!

It's notable that the sale of those drinks is losing the club money: they're spending £106 annually to buy them in and only getting £149 from selling them… despite the way that the stocks on hand are worth £6. Whatever else the members are, they're rubbish at running a viable refreshments service.

Amongst the other striking aspects is that the women members pay a smaller annual subscription than the men (£4 vs £6, but that's still a month's wages for the person serving drinks…)

* If your six included a foreign language, you got a pass acceptable to universities. That would have been me stuffed then.

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/570118.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Scratching an itch
mini me + poo
lovingboth

The pause in posting here has been caused by Antiyoy. It's a simple turn-based strategy game where you use armies and forts to conquer (and hold) an island made up of hexagons against assorted other players.

A peasant unit can capture undefended land. Combine two of those and you get a spearman, who can conquer land defended by a peasant or a capital city. Add another peasant and you get a knight, who can conquer land defended by spearmen or towers. Add a final peasant and you get a baron, who can conquer knights. But – as with modern business – the latter require 27 times the pay of mere peasants, and if you run out of money all the people in your territory disappear. So you have to have plenty of money-generating land before you can dream of having knights.. and the towers that are proof against anything less are much cheaper.

It's been scratching the Empire: Wargame of the Century itch very happily for the past few days. It looks like I've been playing that for, erm, twenty eight years, and it runs very well on a desktop's DOSBox but doesn't work well on a tablet's one. (There is an Android port of the Empire Deluxe sequel, but it doesn't work very well on a tablet either – both really want a mouse.)

I thought Antiyoy was a polished game, and it turns out that this isn't surprising: it's an utter clone of Slay, which has been around in one form or another since 1989, the year after EWotC.

Fortunately, I've now got through the seventy level 'campaign' and the latest change to the program – starting the one-off games with lots of neutral territory – simply doesn't work well at all. So you might well see some more posts soon…

.. unless there's a sale on the Android port of Slay.

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/570070.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Do the wardrobe shuffle
mini me + poo
lovingboth

Yesterday was spent shuffling furniture about. From a house that's being cleared came seven dining chairs, a dressing table, a small table and some garden furniture. Out went six not very comfortable dining chairs and a cheap chest of drawers. That was fairly simple, although the existing – borderline unsafe – gardening furniture is still here. Whether it'll end up as a pile of decaying wood in the garden for insects or at the recycling centre, I don't know, but having seen some stag beetles in London, it'd be nice to see some here.

A friend down the road got two disassembled wardrobes and a chest of drawers. That involved moving out a chest of drawers and a sort of coffee table sized chest of drawers from one room, then moving an existing wardrobe and chest of drawers from another room into the first room, and leaving assorted bits to assemble in the second room.

Someone's garage now has the 'out' furniture, plus a couple of other things from the cleared house, including a writing desk and a tall rusty metal storage thing that may end up going to London somehow.

Now 'all' that needed to happen was assembling the wardrobes. These are Stag flat pack designs from the 1960s. It was interesting to see that some basic ideas are still used in IKEA etc stuff today. The person who'd broken them down hadn't taken photos of the process of doing that, but helpfully labelled which bit was from which and suggested that I do the simple one first. That might have been sensible except that they'd broken, either in taking them apart or in transport, one critical bit of the base of the more complicated one. A metal combination screw and 'secure this end' part hadn't been removed from the base where it was supposed to hold the middle vertical 'wall' and had broken the base, fortunately at the underneath side.

Fortunately, again, the two bases were identical – presumably it saved money only having one design – so it was possible to use the simple one with its intact screw holes instead. Having started, it seemed a sensible idea to continue with the more complicated one.

Which went fine up until the back. As with many IKEA ones, this uses some thin hardboard with a wood-coloured veneer on one side as the back. With much flat pack furniture, this can't be one sheet of the correct size or the packing box would be too big. So you get it in two or three pieces and join them together. Tape or nails is the current way, depending on whether there's something to nail it to or not. The sides are typically in groves of the real walls.

But for some reason – part of which only became clear later, instead of doing the sensible thing and having two vertical pieces, each roughly the size of one of the doors, it has four horizontal pieces, one smaller than the other. Attempting to stack them on one another failed, even with some duct tape, but then it was then that the use for some odd bits became clear: four bits of woodish stuff, the length the width of the wardrobe but otherwise quite small. And with a grove in two sides. Ah ha, these go on top of one bit of hardboard and hold it in place while proving the base for the next bit. Ah ha2, they have some thing that can be screwed into the sides, behind the hardboard, to keep it all fairly rigid too.

Which would have been great, except that only one of the two screws on the first of the three bars was anywhere near the right place. The other end was too high. There's a limit to how much you can hammer the side of hardboard to get it to go down (it breaks the hardboard if you're not careful!) and no amount of pushing it would get it to the right position. So of course the next layer starts too high, neither screw fits, and you end up not being able to get the top / roof wall on.

It was at this point that I gave up until the new owner came home.

When she did, we decided to do without all but the first bit of hardboard, but just use their support bars instead. I for one have always said that wardrobes shouldn't have a back.* The metal bits that hold the roof on aren't screwed in, so you have to get them just right for them to drop into the holes in the sides. Which isn't easy, given that the roof is much thicker and is the second heaviest bit of the whole thing. Get it wrong, and they drop to either side and then you've got to lift the whole thing again, usually taking the connectors that did get in their holes out and have to do them again too.

Repeat, several times, possibly breaking the base – the middle wall did bend over more than it should have done at one point, until it works.

The doors were almost simple, but there's a lot of work in the almost. You can see where modern door hanging designs come from, but the subtle changes since the 60s mean they are notably better for rehanging doors. These almost properly fit – but do close! – and it's not clear how you would adjust things so they do fit properly. About the only thing I can think of is start again, making sure that everything that is supposed to be a right angle is exactly 90 degrees.

Having done that one, it was going to be much simpler to do the simple (no middle wall) one. And it was! It did have a fixed top shelf that the first one didn't and this was the reason for having horizontal hardboard bits for the back: instead of having the back 'behind' the shelf, the top shelf has the top and bottom grooves for the hardboard. This probably also explains the asymmetrical sizes of the pieces of the hardboard – because you could choose to have this shelf, the last bit had to be the vertical size of the space left underneath the top shelf because that makes the maker's life easier in terms of stock control. As with the base unit, you then only need to have one sort of back.

This time, the three larger bits of hardboard fit (with a little hammering…) and it's only missing a back on the top shelf – there was no way you want the top to slot into that and have the annoying connectors fit too. If it had been lighter, perhaps, but not this lump.

The result worked perfectly in terms of its doors and is a tribute to the quality of the original design. It looks horrid to my eyes, but its new owner is seriously into retro stuff and loves it.

Except that she wanted it on the other side of the room. Push, shove, push. No, it's too big there (it blocked part of the window). One reason for wanting it there is that she wasn't convinced they'd be enough space to open the doors fully because of the bed. But.. push, shove, push.. yes there was. I thought there would be, just, having had a play with an unattached door earlier.

After that, the chest of drawers was simple…

* How else are you going to get to Narnia if they do?

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/569286.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Getting the rules wrong
mini me + poo
lovingboth

Yesterday, someone found out they'd been playing a favourite board game wrongly / 'not according to the printed rules'. In this case, the missed rule makes a better game and the judgement involved is half the skill in something that has a lot of luck already.

But lots of people ignore rules. Few people play Monopoly without adding some variant or other, usually making it a worse game* by increasing the money supply or reducing limits on houses or.. Even the current rights owners have been guilty of that, including by adding another die to make it easier to land on squares you want to land on / easier to avoid ones you don't.

I've been taught games wrongly – the classic example was the game where the owner had missed that each turn you could do only one of four things and thought you could do all four, every turn. The game didn't last long…

Some people make a fortune out of it: Othello is Reversi with a restriction saying you have to start with one of two opening positions. Somehow, the Japanese patent office granted a patent on it anyway and the 'inventor' cleaned up.

Some games are improved by tweaks. I think one favourite has one mechanism, a favourite of the designer, too many and so do without it.

What's your missed / ignored / improved rule story?

* Feel free to substitute 'an even worse'…

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/568496.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Printers I have known
mini me + poo
lovingboth
Teletype - when I was one of the small group doing a Computer Science O-level, we had to go to the local FE college who were just starting to teach it. They didn't actually have a computer for us to use, but they did have a Teletype with a connection to the Open University. You wrote your BASIC program on the Teletype, and a leased line to the OU enabled it to run. When, not if, the program didn't work. I can't remember how we edited it (some extremely simple line editor or just over writing lines by entering a new line 100 or whatever?) but you could also get the Teletype to save it onto paper tape for fast - something like ten characters a second! - upload next time.

I don't think I have any of the paper tape, but there's at least one printed program somewhere.

Some dot matrix - after a month or so, the college got the bill for the leased line, went 'HOW MUCH?!?' and decided that getting a Research Machines 380Z would save money, even at over £3k for the version with 8" floppy discs.* Plus at least another thousand for a dot matrix printer, because it wouldn't work with the Teletype properly.

I can't remember what it was, but it could do 132 characters on a line which rules out the next one. I do have a couple of printouts from it though, including a program that simulated radioactive decay by turning a rectangle of asterisks into dots over several passes - my first encounter with e, after I noticed that if my little asterisk's half life wasn't 'one' loop, doing the obvious calculation** didn't work properly - and two games. Doubtless someone somewhere could look at them and go, 'ah, a Centronics..'

Epson FX-80 - I'm quite surprised that WP doesn't have a page on this, even though it gets a mention on the dot matrix printer one, because to those of us of a certain age, it's iconic. I didn't own it - they were about £700 around 1981 - but my university department had several because they were so (relatively) cheap. They also ended up with some MX-80s that could do graphics (not very well, but even so..)

Some line printer - dot matrix printers print a vertical slice of a character at a time, a typewriter prints a character at a time, and a line printer does, gasp, a whole line of text at a time. As this is done by 80 or 132 or more little hammers hitting the paper and something solid at the same time, five or more times a second, they're quite noisy. I SAID THEY'RE QUITE NOISY! Consequently, it was kept in another room under a noise insulating cover, and we only got the results.***

ZX Printer - the first one I bought, £49.95. That was the end of the good news. Narrow and nasty and needing special paper (about a fiver a roll) it worked by having an electrical spark burn off a layer of aluminium from the paper to reveal the black paper underneath.

You tell the young people of today that, and they don't believe you.****

I do have a couple of printouts from it, but the printer and some paper got donated to the computing museum at Bletchley.

Tandy / Radio Shack plotter - in one sense, another bonkers design: a small cartridge held four tiny pen-like ink cartridges. By moving it and the paper in the right way, you drew lines on the 15cm or so wide paper. Draw the right lines and you've got text! I think it was in a sale to the point it was cheaper than an inkjet and did colour that meant I got one.

Some OKI 24-pin dot matrix - not mine, but the person I worked with for many years. They paid £1,500 for it, the same cost as their Zenith 8088 PC clone running at 8MHz, so almost twice as fast as a real IBM PC. The reason for the price tag was that unlike the FX-80 et al which created their characters with a maximum of nine dots per vertical line, this used up to twenty four. Some of the 9-pin printers could bodge this by printing each line three times, moving the paper very slightly each time, and calling the result 'near letter quality' (i.e. as good as a typewriter) but it never was.

Neither was this, but it was over three times faster. The design meant you could also reuse the ribbons quite easily too. I can't remember what eventually failed on it.

Citizen Swift 24 - another 24 pin dot matrix, got largely because of the price (£200ish??) and the way we didn't need the width of the OKI. Only used by me with DOS, Windows XP had printer drivers for it.

Canon BJ-10 - the first inkjet I used. These were neat - a bit shorter than a ream of A4 paper lying down, but otherwise more or less the same size, they were virtually silent and did produce high quality results. As a result, when it died it was replaced by a..

Canon BJ-10e - slightly better version. I think this was the one that had a lovely tall but narrow bold font that was perfect for printing speeches on. It also died after about 18 months.

HP Deskjet 500 - Going back to an older machine! Bought second-hand off cix, this wasn't as neat, but was much more reliable. The quality wasn't great and inkjets are expensive to run, so..

HP Laserjet 6P - the first laser printer for the office in question. Alas, this was after the marketing people took over HP. The print quality was very good - some very nice brochures for a potential Millennium Commission project were done on it - but who thought it was a good idea to have the paper intake be a dust and crap magnet at the top of the printer? Most of the rest was plastic rather than metal too.

Panasonic KX P4420 - I recognise it, and I wrote a printer driver for my word processor (Borland's Sprint) for it, but I can't remember if it was the replacement for the LJ6P or if it replaced the LJ IIs of the LibDem by-election team.

Minolta SP101 - back to my ones. Many laser printers of the early 90s had 512kiB of RAM. While that was plenty to print text and small images, it wasn't enough to do a whole page image at 300 dots per inch resolution This one did some compression of the image data, so it could. You could also 'easily' fit some more RAM but the Minolta sales person at the show I bought it at gave the wrong info so I ended up buying the wrong chips at first.*****

Even so, this is what the London Bisexual Group newsletters and other stuff were printed on for my years as its Hon Secretary.

HP LaserJet Series II and Series III - I've written about these before. As they went out of fashion, they became dead cheap while staying extraordinarily versatile thanks to an host of companies doing add-on stuff for it.

Dell laser printer - I can't remember which. I can remember getting it from a Freecycle event in Forest Hill c2010 and being pleasantly surprised it worked. When the LJ III stopped picking up paper reliably and the usual cures involving sand paper didn't work, it got replaced by this. The speed - about 16 pages a minute - was nice, but it failed to pick up paper after a couple of years and nothing I did could get it working properly. The first printer I had that used USB rather than a parallel port.

Brother HL-2250DN - the current one, bought for £85 in 2013. Does duplex and has a Ethernet port as well as USB so it's shared with everything here. Replaced in Brother's line by something slightly faster but more expensive, grr, but it's showing no sign of going worng.

* I'm sure I've told the story of breaking it by putting a floppy in the wrong way up. They were very nice about it...

** If the half-life is say three ticks rather than one, then 1/6 - a third of a half - must die each time, yes? No!

*** Several hundred compiler errors ending with 'Missing ; in line 3137' usually, indicating that you'd left one out somewhere in the preceding three thousand or so lines.

**** I've just tried.

***** Every cloud has a silver lining: the 256kiB chips ended up expanding a sound card, the lovely Gravis Ultrasound, the sound card to play DOOM with.

(Hmm, that's interesting - this didn't crosspost from lovingboth.com on the 20th.)

This entry was originally posted at http://lovingboth.dreamwidth.org/568741.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

It was the best cow I've seen..
mini me + poo
lovingboth

.. in Into The Woods, anyway. I don't know how I missed seeing while booking that JA's and my tickets were on the second row from the front, rather than the back. They must have been returns, and huge thanks to the unknown people who didn't want them.

The show itself was excellent, with only a few problems. With eleven people on stage, including someone mostly there as a pianist, it was slightly undercast in terms of numbers: Cinderella's prince was doubling as one of her stepsisters, for example! There's also no real narrator – that was shared – which leads to a problem avoided by cutting a bit out. But all of them were good, especially the person being a cow, and it was the second best second act of any of the, erm, nine productions I've seen.

Speaking of which, another highlight was that the family to one side of us had only seen the abomination that's the film version, and so were a bit surprised at how many people are killed off in the second half of this one, even if it's lower than it should be.

Sunday was [title of show] which is on until next Sunday. Smaller still, it's the story of the creation of itself… As such, there's an element of wondering how real some bits are. Alas, I didn't have any doubts about the realism of the way the two gay men writing it were noticeably giving themselves much better bits than they give the two women.

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/568116.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Oh, is that the time?
mini me + poo
lovingboth

Earlier this week, Amazon finally had a cheap copy of a book I've been after for a while – the Haynes Owners' Workshop Manual for the Panzerkampfwagen VI, otherwise known as the Tiger Tank. It arrived just before I left for the weekend. If you're interested in the subject, it's a fascinating read: I started at about 9pm and went 'Oh..' at after midnight.

As far as the 'owners' bit of the title goes, the equivalent Haynes book on the Spitfire says something like 'forget owning one to fly unless you've a million quid to spare'. This one just says 'forget it': only six of the just over thirteen hundred made survive even vaguely intact.* But it is written by the owners of the only one restored to running order, The Tank Museum in Bovington, Dorset.

Hmm, it's been at least five years since I visited.** Hmm, Tiger Day or Tankfest next year?

Typically, the Daily Fail's article on the book gets lots of things wrong in its historical picture 'German Tiger Tank on road in Normandy in Northern France during the Second World War'. As any fule kno that's the Panzerkampfwagen VII, aka the Tiger II. And there are two of them. And, to me at least, both of them are by the side of the road…

* Not that stops assorted people offering one for sale. One bunch sent photos of a model to prove they had one…

** I spent the first day of the second OpenCon there as it was nearby. I think that was 2011. The previous visit was just after I'd leant to drive, so early 2002. The one before that was as a child, when they still let you clamber all over everything!

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/567961.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

Foreign language exchange trip: failed
mini me + poo
lovingboth

I did badly at French when I was at school. Last in the class at the end of year one* exam, and it went downhill from there.

On the plus side, it did mean I was put into 'economics / government and politics' from year two rather than Latin (those who did well) or German (those in the middle), so I only ended up failing the one O-level..**

.. so badly, it didn't appear on the certificate as a fail. Result, even if I thought I was going to get at least an 'E'!

Yesterday, we were told that the girl JA stayed with on her German exchange trip earlier this year has failed.. something, possibly just English.. so that her school is keeping her back a year and she's not being allowed to go on the return visit here in a couple of weeks time.

Even I think that's unfair.

* What I'm supposed to call year seven now.

** Which I'm still a bit annoyed about: at the end of year three when it came time to pick options for O-level, the school said we could drop French. Then, when the results were in, said 'Oh, we were lying – we just wanted to see how many people would drop it if they could. Which they can't.'

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/567794.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

I think this might be a record
mini me + poo
lovingboth

I need to be in London on Saturday evening – someone booked the wrong train there, so I'm giving them a lift. Ok, what's happening in the London fringe theatre then? Slightly annoyingly, the previous best way to find out has had a makeover and it's not as nice to use as before but..

.. Oooh! Menier Chocolate Factory have the last night of a production of Into the Woods! It's probably not worth clicking to check if there are any seats left, but..

.. Oooh! Last one!

So this will be the third professional production of it in ten months: Manchester Exchange (intimate, very good) at the end of December, West Yorkshire Playhouse (bigger, some nice ideas and very well sung, but not quite as good) in June, and now this. Add in another three months, and there was the American school that did it at the Fringe last August, making three and a half productions of all sorts.

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/567525.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

They've all got it in for me..
mini me + poo
lovingboth

1. Over the past couple of days, I've gotten around to testing the kit I bought from the bunch who were closing. It looks like they sent six 'lots of red LEDs' shields rather than the five red and one (more expensive) white LED version. I'm now pondering whether or not to get a partial refund from PayPal. On the one hand, it's not much money, but on the other, I'm still very annoyed at their taking the documentation for their kit off the web and stopping it being archived by Google / Archive.org.

2. Speaking of bad documentation, the other thing I've been testing is a small touchscreen LCD shield for Arduinos and compatibles. Checking, I bought it from a Chinese website almost exactly a year ago but never got around to playing with it. Problem one is that it came with zero documentation. Problem two is that, although the basic shield is fairly widely available, there are at least half a dozen different controller chips in use generating the displays and which any particular board uses looks to be almost completely random. Even this bunch have used several different ones, and of course, they all need talking to in more or less different ways.

So I attach it and the Arduino UNO clone it came with via USB. Well, the display lights up white. Let's try programming it. A quick look reveals that it should use a Spfd5408 controller, and someone's done a driver library for that, based on the one done by Adafruit.

The test example uploads to the Arduino, says it's working over the serial interface, but doesn't actually do anything on the display. Apart from flicker, once, when the Arduino is reset.

Hmm. A look at the reviews on the page show quite a few people moaning about this sort of thing, but the vendors point to a file somewhere..

.. that no longer exists.

Fortunately, someone mentions the file name and a search reveals a copy in someone's 'Live Drive'. There's quite a bit in it, including a user manual (in Chinese), a PNG image with various dimensions, a 239 page datasheet (in English!), the libraries, and various other stuff mostly in Chinese.

The test example uploads to the Arduino, says it's working over the serial interface, but doesn't actually do anything on the display. Apart from flicker, once, when the Arduino is reset.

Hmm, a look at the code reveals this:

  uint16_t identifier = tft.readID();
identifier=0x9341;
  if(identifier == 0x9325) {
    Serial.println(F("Found ILI9325 LCD driver"));
  } else if(identifier == 0x9328) {
    Serial.println(F("Found ILI9328 LCD driver"));
  } else if(identifier == 0x7575) {
    Serial.println(F("Found HX8347G LCD driver"));
  } else if(identifier == 0x9341) {
    Serial.println(F("Found ILI9341 LCD driver"));
  } else if(identifier == 0x8357) {
    Serial.println(F("Found HX8357D LCD driver"));
  } else {
    Serial.print(F("Unknown LCD driver chip: "));
    Serial.println(identifier, HEX);
 

Or, in English, 'read what chip it says it is, immediately overwrite the result with the value for one of the five chips the library will presumably work with, then work out and announce which chip it is'. Taking out the naughty line reveals that it's reporting as having an identifier of 0xC0C0.

Which it doesn't know about and clearly can't cope with.

Fortunately, another link leads to another bit of code that does work, and the display is now being wiped with red, green and blue in turn in an infinite loop.* Unfortunately, that's all the code does and adapting the considerably more powerful libraries – as you might have guessed from the length of the datasheet, these chips are quite powerful – into using the right registers etc has been left as an exercise for the buyer.

I'd complain, but I see that I paid the equivalent of $5.10 for the display, the Arduino clone, and a USB lead. The clone is worth rather more than that. I couldn't post it all back to China for that much!

3. Rather than typing all this stuff, I was supposed to be taking JA for a guitar lesson near Lincoln with a new-to-us group. Except that when I got in the car, I noticed that the driver's wing mirror was turned in. I'll just push it back out..

.. ow, that's broken glass!

Someone's hit it and smashed it completely.** The passenger side one was broken a couple of years ago, and partly because it wasn't me that broke it while driving along, I've never bothered to replace it. It's not legally necessary and it does still give an indication of what's on that side. Neither of those apply to the driver's side: you have to have one and it is completely shattered.

Fortunately, I can get replacements for the glass and have it in a fixed position. Having proper adjustable replacements would probably cost a large chunk of what the car's worth… ditto putting in a claim on the insurance.

* Reminding me of the beautiful lights of Balham, 'changing all the time: green… amber… red… red and amber… and back to green.'

** Although the impact must have been obvious to whoever did it, there's no note. Sadly, there's no sign that it smashed their wing mirror too.

Mirrored from my website's blog, The deranged mad of a brain man.

This entry was originally posted at http://lovingboth.dreamwidth.org/567271.html, because despite having a permanent account, I have had enough of LJ's current owners trying to be evil. Please comment there using OpenID - comment count unavailable have and if you have an LJ account, you can use it for your OpenID account. Or just join Dreamwidth! It only took a couple of minutes to copy all my entries here to there.

?

Log in

No account? Create an account