uOLED 128 G2 with propeller C on activity board
RickSparks
Posts: 1
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?
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
Your threads have been merged. In the future, please post all updates to a thread inside of the original thread, either as an edit or a comment.
Creating multiple threads for the same topic is a violation of our rules and guidelines.
http://forums.parallax.com/discussion/134682/forum-rules-and-guidelines
http://forums.parallax.com/discussion/145810/difficulty-integrating-μoled-128-g2-with-propeller