While learning to use the Processing language I came across this and wondered if it could also be used with FreeBASIC?
https://www.arduino.cc/en/reference/firmata
firmata firmware
-
- Posts: 3906
- Joined: Jan 01, 2009 7:03
- Location: Australia
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: firmata firmware
How many bytes are free if you install the firmware on your Arduino ?
Joshy
Joshy
-
- Posts: 3906
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: firmata firmware
While playing with Processing3 and noticing firmata being mentioned with regards to the Arduino it was only a thought bubble to use it with FreeBASIC instead of Processing3 as I haven't really had any time to explore what was involved.
The examples of using Processing3 and the Arduino,
https://processing.org/tutorials/electronics/
Installing it on the Arduino,
https://www.instructables.com/id/Arduin ... d-Firmata/
Compiling the StandardFirmata sketch,
Sketch uses 16402 bytes (6%) of program storage. Maximum is 253952 bytes.
Global variables use 2029 bytes (24%) of dynamic memory, leaving 6162 bytes for local variables. Maximum is 8192 bytes.
I downloaded the Firmata Test from
http://firmata.org/wiki/Main_Page
but all I got was a blank window.
Maybe because I am using a mega2560
I will have to try it again tomorrow with a Uno.
The examples of using Processing3 and the Arduino,
https://processing.org/tutorials/electronics/
Installing it on the Arduino,
https://www.instructables.com/id/Arduin ... d-Firmata/
Compiling the StandardFirmata sketch,
Sketch uses 16402 bytes (6%) of program storage. Maximum is 253952 bytes.
Global variables use 2029 bytes (24%) of dynamic memory, leaving 6162 bytes for local variables. Maximum is 8192 bytes.
I downloaded the Firmata Test from
http://firmata.org/wiki/Main_Page
but all I got was a blank window.
Maybe because I am using a mega2560
I will have to try it again tomorrow with a Uno.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: firmata firmware
http://firmata.org/wiki/Main_Page wrote:Arduino Mega it is necessary to change the sampling interval in file StandardFirmata.ino from 19ms into 99ms !
-
- Posts: 3906
- Joined: Jan 01, 2009 7:03
- Location: Australia