Comments (7)
Hi - that 'error' in the IDE is just a warning about code style - I don't believe that is the reason for your problems...
I have just installed 2v21 on my original Tiny Word Clock from the https://www.espruino.com/Tiny+Word+Clock tutorial, re-uploaded the exact code and it works perfectly with all the same LEDs as before.
Is it possible that maybe the first JS code you used, from before you updated the firmware, you'd used different pin numbers? You might have soldered your board on one pin out, or maybe the board is soldered to the LED matrix 180 degrees out from the way I did it, in which case the ANODES
and CATHODES
variables would need changing?
from espruinodocs.
Thanks for replying. I don't think I did anything unusual in my original setup (years ago). Is there any way to output the word that it is trying to display to the Web IDE?
from espruinodocs.
Sure, yes - if you go to the function function outputWords(wordList) {
and add console.log(wordList)
after that line then it should tell you
from espruinodocs.
from espruinodocs.
Well, I think you probably must have had some code change in there! I vaguely remember someone asking a question about rotation a while back so it might have been you?
After var g = Graphics.createArrayBuffer(8,8,1);
just add g.setRotation(2);
and I bet that'll sort it for you!
from espruinodocs.
from espruinodocs.
Great! I'll put a comment in the tutorial code about rotation
from espruinodocs.
Related Issues (20)
- [tutorials/BLE Advertising.md] Python section, not using sudo with pip HOT 1
- STM32F4DISCOVERY with different accelerometer HOT 2
- Data Streaming To GCP HOT 1
- [Hardware Reference - SetUI] HOT 3
- info/Compilation.md HOT 1
- info/Font Converter.md HOT 3
- KeyPad return values HOT 1
- Docs not built correctly HOT 1
- ST7735 on ESP32 using hardware SPI HOT 3
- graph module bug HOT 1
- Add "Bangle.js Battery Load/Intensity notes" HOT 2
- Reference pages layout improvements HOT 4
- Forum isn't redirecting correctly HOT 1
- tutorials/Software PWM.md HOT 1
- There is no maximum PW rate specified for the puck.js2 HOT 1
- Add Ungoogled Chromium and Bromite to docs as a FOSS alternative HOT 2
- New tutorial: How to rapidly build and test Espruino for banglejs2 HOT 2
- Mouldking module not working, possibly wrong device address? HOT 3
- tutorials/Bangle.js Fast Load.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espruinodocs.