Show Posts
Pages: [1]
1  Using Arduino / Displays / Re: Futaba M12BY02AA VFD Display on: January 31, 2013, 07:50:45 am
OK, I've found some code on github from someone who has used this display before, unfortunately it was with a PIC not an AVR -

The code I am using so far is below, just to try to turn one of the three LED's on, before I try to get the display working -

#include <Wire.h>
byte I2C_add = B10100000; //address #0
byte disp_write = B01000000; //write to display memory
byte disp_bright = B10011111; //turn on display, maximum brightness
byte led_write = B01000101; //write to LED's

void setup() {

void loop() {
  Wire.write(I2C_add); //write to address #0
  Wire.write(disp_bright); //turn on display
  Wire.write(led_write); //write to LED
  Wire.write(B01000101); //turn LED 2 on

Any ideas??
2  Using Arduino / Displays / Futaba M12BY02AA VFD Display on: January 30, 2013, 07:15:19 am
I'm new here - be gentle smiley

I got a few of these displays pretty cheaply, and being I2C I thought they should be pretty easy to get working, problem is I'm stuck.  The datasheet for these displays is here -

I get that I need to send a device address byte, then a command or memory address byte, and then the data bytes, I presume with code resembling the following -

etc, etc

The question is - how do I receive the acknowledge bits - the "0" that the display sends back after each byte is received.  Do I just do a line with a routine to look for a 0??

Any help or example code would be greatly appreciated.
Pages: [1]