Eureka moment
-
Someone tried using an arduino before in the same way (programmed to act as a keyboard), and was not particularly successful. Their hypothesis was that the switch itself is finicky about what keyboards it works with.
There is another method of emulating a keyboard with an arduino called v-usb https://codeandlife.com/2012/06/18/usb-hid-keyboard-with-v-usb/ which might be woth looking into if the pro micro’s built-in USB isn’t working well..
I don’t know if it’s related to your problem, however. Just a wild suggestion. I haven’t tried any of this myself. (Though I do have some microcontroller somewhere programmed to act as a keyboard. I wonder where that is...)
-
You could also try setting your switch to japanese language and see if that makes a difference..?
-
I think I've located some source code. If you download the Petit4Send1.2.2.zip file, the source code is included. Looks like its written in Basic - assuming I'm looking at the PC end of things.
-
Nope. That’s smile basic code. !
-
Whoops!
I think this would be handy for array data entry if you see what I mean. LU tables, map data, etc,
For example, a chess program could read in external PGN games which can be downloaded from many sources.
Although actual program entry seems to be a problem I still think there are possibilities here for something useful. -
For an Astronomy program, entering the RA and Dec of loads of star locations would be a nightmare. But this data can be downloaded from many sites and transferred over to Fuze. Converting RA and Dec to Alt and Az is straightforward, followed by screen x and y. Up to date comet data, ISS data can then be transferred etc.etc.
Another example would be a simple CAD program which could use external CAD data - buildings, garden data etc.
Perhaps data from Blender could be imported - OBJ files. Now there's an idea !
Midi files could be converted for use by Fuse4.
Many, many other possibilities - too many to mention. -
What happens if you use a terminal program on your PC to send stuff? It looks like the arduino is set up to be a mouse for some reason, but you never know..
-
Here we go...https://people.sc.fsu.edu/~jburkardt/data/obj/obj.html
diamond.obj
g Object001
v 0.000000E+00 0.000000E+00 78.0000
v 45.0000 45.0000 0.000000E+00
v 45.0000 -45.0000 0.000000E+00
v -45.0000 -45.0000 0.000000E+00
v -45.0000 45.0000 0.000000E+00
v 0.000000E+00 0.000000E+00 -78.0000f 1 2 3
f 1 3 4
f 1 4 5
f 1 5 2
f 6 5 4
f 6 4 3
f 6 3 2
f 6 2 1
f 6 1 5Now for a bit of research in how to convert the data and display it in Fuze
-
@toxibunny I'll give it a go.
-
Can anyone give us a hand with the code to convert and display the diamond.obj example ?
Could be on a winner here ! -
If anyone wants to try writing an astronomy program, all the calculations are in "Practical Astronomy With Your Calculator" by Peter Duffet-Smith.
-
@faz808 said in Eureka moment:
Can anyone give us a hand with the code to convert and display the diamond.obj example ?
Could be on a winner here !Have you transferred the data to Fuze? In that case, share it and we will see if someone can do something!
-
OBJ Data transferred via petit4send - no problems.
obj_reader ID:5YUZ7MND15 (pending)
-
Just tried a 1800 element OBJ file. Went fine - took about 10 minutes to transfer 400 elements but I didn't transfer all 1800. Looks great. Even 400 elements would be a lot of typing - prone to errors. This is going to be great for large amounts of data.
-
I'm just looking at the 400 odd lines of data entry and I'm absolutely amazed at it. Can't get over it - so easy ! You'd never type that lot in without errors creeping in. Fantastic !
-
Important to send a single character before sending the main file. This syncs the arduino with Fuze4.
-
@faz808 I downloaded "obj_reader" and added some code to draw the diamond object using simple rotation, lighting and back face culling (without perspective projection or depth ordering).
shared as: "obj_reader_drawer" 18V63MND9L (pending)
-
Some months ago I tried using a different - and lengthy - technique. Wire cube with hidden line removal.
wire_cube ID: NDVHCNND15 (pending) -
Just entered "Humanoid". It's very small but he's there. I'm not sure how to make him bigger.
Don't want to muck up the existing code, Gothon !Humanoid ID: 78Y63MND15 (pending)
-
Are we in trouble here? Quote from an different post:-
Nintendo put the kibosh on that right up front: "no external, non-approved content coming on to our platform".