Jump to content

AJB2K3

Eurobricks Vassals
  • Posts

    99
  • Joined

  • Last visited

Everything posted by AJB2K3

  1. I failed all my exams except for science. I resat my English and passed it 10 years after leaving school.
  2. I'm not sure If I have mentioned this before but I power my interface With a 1500mAh 3 S LIPO battery.
  3. I got a bit board and added WeDo1.0 to my test software. Turns out that gemini can handle code for it without problems.
  4. OMG this is growing amazingly. You said you didn't want to use port letters because of variables? Oh and BTW the flower Icon is actually a gear.
  5. If I recall correctly, there is no need as button function just returns true for pressed and false for not pressed.
  6. I tried adding save and load functions to my offline version and ended up braking it and having to restore it.
  7. That’s why I went off line as I had issue with web serial blocking the port, worst case I had was having to hard reboot the computer to reset the serial bus. it’s not just my own version but had the same with other software that accesses the bus like arduino, thonny and python if the bus connection isn’t force closed then a hard reset of the host machine is the only way, removing and reinserting usb devices doesn’t work i have had this with esp32 verities
  8. I wish I could understand bit masking because in my blockly it reads once then show the same value but in raw python it shows the changes in value. I got a second interface now just no mains to plug it in! Edit: Solved it, AI slop strikes again, There was some random code that was added by Gemini that was braking the sensor read but not just that, I defined the wrong port numbers!
  9. I was using idle from 3.14.7 but it was user error in my case as I forgot that the inp were request functions not command functions. I have an oddity with my code that in IDLE and Thonny the buffer get cleared and I can see changes in inputs but my IDE doesn't always register the changes to inputs.
  10. my interfaceB code is doing random things at the moment so having a play with yours @Bliss I cant get inputs to read using from legob import LegoB import time Lego1 = LegoB('/dev/cu.PL2303G-USBtoUART2420') time.sleep(1) Lego1.inp(1).val time.sleep(1) Lego1.close() I do get the conformation and the close messages.
  11. Ok had to download the image to view it but I see a speed computer (little yellow and gray thing with pulley wheels. but the bigger wider thing is the bionic manas which runs on the PF/Spybot IR system.
  12. Thanks @Bliss Yes installation is a pain and yes I would like to have a windows installer but again I don't have a Win11 computer so can only develop installers for OSX and Debian/raspbian. An online version is complicated because of web hosting and then having to have a browser that supports web serial which is still not perfect and only supported fully by chrome. The problem is that a computer will still need the dependencies. You can create a fork of mine if you want As to the reading of the bytes, no that is a problem I am working on with the Ifaces function. The function is support to allow the setting of a device name and the attachment of the port so in the case of your RCX code it supposed to change the line r=RCX("COM4") to IFACE_1=INTB("comport for INterfaceB_1") IFACE_2=RCX("comport for RCX1") and then you should be able to to type IFACE_1.write() IFACE_2.mot() The blocks would then have a dropdown list of the currently configured interfaces to select from. problem is that I have been working on this after work and my brain has stopped braining. Please keep testing and complaining. @Gunners TekZone You images arn't working. No you are not lost. If you have a uptodate Debian/raspbian computer there is an installer to sort out things. I still have to sort out a windows and OSX installer.
  13. Something in windows 11 is not happy with it Ignore the blockly workspace lines as that an internal warning for the upgrade of blockly source. Are you running from the command line or clicking on main.py? I'm going to need time to look into this as it is specific to windows 11 and I don't have a machine to test. Can you open a bug report on GitHub with the info so I dont forget please?
×
×
  • Create New...