The Html_login_1 demo that comes together with the Taiko compiler, uses the HTML GET method on the FORM to pass the login variables. When I change it to the POST method, the code does not work. The documentation says that it is compatible with both GET/POST methods. Am I missing something?
I am using the stor object on the EM1202 to store equipment data (model number, serial number, IP, port, firmware revision etc) in EEPROM. This is fine as I can store and recall all the data as strings.
However, I now want to store a whole set of values from a 10-bit A-to-D converter into EEPROM. I have the values in 16-bit word variables and want to store them to EEPROM as 2-bytes each, but stor.setdata and stor.getdata accept strings only. If I convert to strings using the hex function, I end up using minimum 4-bytes, or double the space!
Can anyone suggest how I can easily write/read these values in only 2-bytes each?
I have been using BasicMicro Stamp and Atom controller(s) for many years and have just switched to the EM1202 for the first time in a project. I have found it a great product, but there appears to be a huge omission in terms of programming - individual bit manipulation within byte/word/long variables. Unless I am missing something, there appears to be no easy way of doing this?
In a previous Atom application I used a 32-bit variable as a "register" to record 32 pass/fail criteria. There is facility in Atom Basic to simply turn individual bits in the variable on or off or use them in operations. You can also separate out any byte of a 16 or 32-bit variable and carry out many other bitwise operations. I can find no way to do these simply in Tibbo Basic.
I have a work-around by converting the variable to a 32-character binary string representation, manipulating the characters in the string, then converting back to a 32-bit variable. This is VERY slow at processing.
Am I missing something? If not, PLEASE can we have full bitwise operations in the next release? The Atom was superb at this, so please consult their manual for ideas! There is a whole range of operations I simply can't find a way of doing on the EM1202.
I just wanted to make a couple of points about us (Tibbo guys) posting here:
1) None of us are native English speakers, and we have varying levels of proficiency in the language. We've made a decision to all pitch in and say what we have, and some of our English is not perfect.
We think it's better to say what we each personally think, and be transparent, than to use "perfect" English in this forum.
Which leads me to...
2) This forum is informal. Just in case this has to be spelled out: None of the positions and statements made here are Tibbo's formal policy or position, unless explicitly marked so (as "Official Reponse" in the system).
We're just here as people, because we care about Tibbo customers and we care about what we do.