However, I'm worried about the performance of this, mostly when dealing with "high" speeds - say, using a custom-made library to print text on a LCD driver. Then, I thought about running the C code on the computer, but replacing digitalWrite with appropriate signals to the board. Besides, I don't even think the RAM is sufficient for running the client, storing two small programs, and running them. While common C functions could just be encoded in a fashion like FUNC printf STRING %s VAR a for printf("%s", a), I don't know how to encode user-defined functions. However, my biggest problem would be implementing functions, I don't really have a clue of how I could do that. My first idea was to compile the students' C code into custom-made "assembly", and then push the assembly code to the board, which stores it into RAM and interprets it. How can I allow two sketches to run on the same board, and allow the user to upload sketches without resetting the board?Īs of my understanding, using the flash memory isn't an option, because the board must be reset before it can be written. What I'm worried about is the software part. The "hardware" part isn't really a concern: students will push their sketches on a server that uploads them on the board, or something like that. They will push their own code (independent from each other) and use half the pins. However, due to a lack of boards, two teams of students will collaborate on each board. I'm trying to get students to experiment with Arduino.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |