-
-
-
Here's the font!
https://gist.github.com/IrregularShed/38f91e1bd53152681957f701454cc391
The 'raw' js URL that Github creates is far too long for Espruino so I tested it using
require('https://goo.gl/JTR7Gc').add(Graphics);
- it looks wonderful on a TV! I'll bodge together a VGA connector next to try that out...The Home Computer project is on a list of things I want to try already, but I'd really like to try and get a PS/2 keyboard to work so that I could use that. Membrane keyboards are so ZX81... ;)
-
-
Attempting to use the TV module is failing - I'm getting:
>Uncaught Error: Module tv not found at line 1 col 19 var g=require("tv").setup({type:"pal",video:A7,sync:A6,width... ^ >
... when trying to run the examples. I've taken a look in espruino.com/modules and, true enough, the module is missing. And I'd just soldered resistors and a header to my board :(
-
The copyright on the Spectrum ROM (and by extension its font) is a gloriously complicated affair :)
In 1999 Amstrad clarified the issue as best they could at the time; the ROM image itself is distributable without issue provided an Amstrad copyright notice is attached and there's no financial gain. Since then, Amstrad has become part of Sky, and they've taken the same stance but have also clarified commercial usage - if you want to include the ROM as part of a product, especially if you use the Sinclair and/or Spectrum trademarks, you need to license it (which involves payments to a charity of their choosing). If it's something that can be downloaded onto flash memory for use, the copyright notice is all that's needed. In short, this is why the ZX Uno can exist as a wholly open source device, while the ZX Spectrum Next project is making payment to Great Ormond Street Hospital.
TL;DR - provided there's a copyright acknowledgement it's OK :)
I think later on I'll be getting an original Espruino hooked up to a monitor to satisfy that itch!
-
-
-
-
Brilliant! That's got it. I have a Puck in range but the battery is dead - better drop into Poundland and grab a stack of their cheapy ones!
BTW, slight topic change - is there a way to have a classic Espruino board plugged into the Pi and to code from my laptop? Just thinking about the whole Chrome Apps closure debacle; being able to plug into the little box on the shelf would be next best to a direct connection.
-
-
Whilst unable to get EspruinoHub to talk to my Pixl.js board over BLE (see here) I've been using this jig I literally threw together from things lying around the office/workshop/attic (they're all the same place). A scrap of (really horrible) stripboard, some pin headers and one of the most useful cheap boards I've ever found in the usual Chinese outlets - a tiny USB-to-UART board that cost pennies (I think I paid 65p each for them).
It looks horrible but works brilliantly :)
-
-
Yep, connecting straight to the Pi hosted version on port 1888. The console logs show everything working as you'd expect - lots of
Initialising
lines, and no errors. Connects websockets to the Pi without issue.I thought for a moment I'd identified something - there was a complaint about parsing JSON from the config - but there was junk in the local storage. Clearing that out got rid of that error but still no luck getting connected. I also connected to the Pi through a Chrome incognito window to make sure that there was nothing else knocking around that could've had an impact (I once had issues with the LastPass extension on another web-based IDE - that caught me out) but there was no difference.
Checked mosquitto is running correctly - it is, and NodeRED can publish and subscribe quite happily to it. Everything looks like it should be working, but no dice :(
-
Hi folks
I've replaced my office Pi 2 with a Pi 3B+, partly so that I can use it and EspruinoHub to deal with my Puck and Pixl devices. I had it working with a Pi Zero W some time back, but that board has been used in a project since then. My problem is this - the backend can see BLE devices, and continues to see the devices (I've got it running in a terminal at the moment) but the WebIDE installed alongside won't acknowledge them and I can't connect to anything. So far I've...
- rattled through all the repos, running
npm install
at every level, hoping that something will spark it up - run
./start.sh
as both standard and root user - installed the system service
- deleted everything and tried again
Still no luck. Any advice?
- rattled through all the repos, running
-
No need, I've just found what the problem was (while looking for the log messages). The Offline Mode was, somehow, switched on (and I don't know how or why). Switching that off did the trick.
Maybe being in Offline Mode could be a bit more visible (something in the title bar perhaps) - or, failing that, just add this experience to the knowledge base :)
-
Not sure whether to ask here or to start a new conversation, but seeing as the link in the IDE news brought me here I figured this will be a sensible option... I found my old original Espruino in a box, plugged it in and as expected it told me there was new firmware. However, the flasher in the IDE only took it to 1v94 and not 1v96. Is there a reference file somewhere that hasn't been updated for a couple of builds?
-
I'd like to give you all a big round of applause for making the effort, an Espruino build for RP2040 will be fantastic (and save me from having to fragment my Covid-fogged brain into supporting Python as well all the other things).