To show your processing creation in a webpage (or WordPress post or page*) you can use the example code below. <script src=”https://home.et.utwente.nl/slootenvanf/div/processing.min.js”></script> <canvas data-processing-sources=”/slootenvanf/div/processing-example.pde”></canvas> * in WordPress, simply switch to text-mode to enter HTML-code in a post or page. Please take note of the following: If in Processing you have multiple files, you must combine … Continue reading Include a processing file (.pde) in a webpage
Sometimes I get a question from a student or colleague on why we choose Java as our base for the introduction to programming classes. Here are some quick reasons: It is a ‘proven’ language to quickly learn programming It is used as first learned programming language in a lot of other universities and high schools It … Continue reading Why learn programming with Java?
Information about the new edition of the course Application Development can be found here. This course is part of module 4, “Smart Products” which started at April 24th, 2017. Schedule Frequently Asked Questions (FAQ) Java Cheat Sheet (under development) Instructions on submitting files Checklist for Lego Mindstorms Box The old version of the course site … Continue reading Application Development
If you have an RFID reader module attached to your computer (via a USB serial connection) you can read RFID data from a Java application. For instance, you can use the unique id (Card UID) to identify something or someone. You can learn how to build you own RFID reader here. To use serial communication in … Continue reading Add RFID identification to a Java application
To use leJOS you need 32 bits versions of the JDK and the Java Runtime Environment (JRE). Also, sometimes after updates of Java or multiple removals/additions the environment can ‘go bad’. Follow the steps below to test the environment and fix it when necessary. Test Java Windows must be able to find Java programs. Therefore the … Continue reading Checking your Java environment (for use with leJOS)
You can learn here how to switch firmware for the Lego Mindstorms NXT. If your NXT has leJOS (Java) firmware and you want to switch to Lego, read the first section. For the other way around: to switch from leJOS to Lego, read the second section ‘Install leJos firmware’. This article ends with a section … Continue reading Installing Lego firmware