Shop OBEX P1 Docs P2 Docs Learn Events
uOLED 128 G2 with propeller C on activity board — Parallax Forums

uOLED 128 G2 with propeller C on activity board

RickSparksRickSparks Posts: 1
edited 2015-08-18 16:10 in Learn with BlocklyProp
Has anyone managed to output to this display using Prop C and activity board? I have the 4D workshop but have not yet received the cable to use it yet. I can't get the C library to work with Simple IDE and my efforts to send commands to it have been ignored...

Update: This is the clear screen to navy from 4d workshop that works:

gfx_BGcolour[FF6E 0010] 0.007 (ACK)
gfx_Cls[FFD7 ] 0.059 (ACK)

This is my propeller C code on the activity board that is ignored:

/*
Serial to uled-128
*/

#include "simpletools.h"

serial*uled;

int main()
{
uled = serial_open(1, 0, 0, 9600);
writeChar(uled,255); writeChar(uled,110); /* set background to navy */
writeChar(uled,000); writeChar(uled,016);
writeChar(uled,255); writeChar(uled,215); /* clear screen */
}

I did check to see if pin 0 is transmitting, and it is... Anybody have any ideas?

Comments

Sign In or Register to comment.