Tv_text help
dover
Posts: 9
I am a beginner in the C programming language, and need a little assistance with the code below, that uses the Image Craft C compiler. The video output goes to a TV, and works great, except I need a way to make the text much smaller. Is there a way I can specify the font or size of the text. I would appreciate detailed answers.
In addition, can someone supply me with the code for controlling a standard Parallax servo using the Image Craft C compiler?
I realize that the header files that I have included below, are not all necessary.
THE CODE:
tvText_start(15);
In addition, can someone supply me with the code for controlling a standard Parallax servo using the Image Craft C compiler?
I realize that the header files that I have included below, are not all necessary.
THE CODE:
#include "FdSerial.h"
#include <propeller.h>
#include <ping.h>
#include <stdlib.h>
#include <string.h>
#include <propeller.h>
#include <stdio.h>
#include "tv_text.h"
#include "keyboard.h"
#include <propeller.h>
#include "keyboard.h"
#include "keybd_array.h"
#include <propeller.h>
#include <ping.h>
#include <stdlib.h>
#include <string.h>
#include <propeller.h>
#include <stdio.h>
#include "tv_text.h"
#include "keyboard.h"
#include <propeller.h>
#include "keyboard.h"
#include "keybd_array.h"
void main(void)
{
int ii = 85;
int jj = 0;
{
int ii = 85;
int jj = 0;
tvText_start(15);
// start TV
printf("I need this test to be smaller!");
}
Comments
Since you are new to Programming in C, and want smaller code for the prop, I suggest you dive into having a go at Spin! it's a great language!
Look at the TV_Text_Demo.spin you get in the example files.
If you need any help, call out for more!